My code for sending email
<?php
$to = 'piyu.mulay@gmail.com';
$subject = 'Website Change Request';
$headers = "From: chintamani.mulay@gmail.com \r\n";
$headers .= "CC: chintamani.mulay@gmail.com\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$message = '<html><body>';
$message .= '<h1>Hello, World!</h1>';
$message .= '<img src="../1.jpg">';
$message .= '</body></html>';
echo mail($to, $subject, $message, $headers);
?>
When i put link in <img src="http://weber-steinach.de/files/339349">
it works well but when I put path of file which is in my localserver I won't show and Image in email.