Hi,
I am trying to send an e-mail using the following code:
$htmlHeaders="";
$htmlHeaders = "MIME-Version: 1.0 \r\n";
$htmlHeaders .= "Content-type: text/html; charset=iso-8859-1 \r\n";
$htmlHeaders .= "X-Mailer: PHP/" . phpversion(). "\r\n";
$htmlHeaders .= "From: System <[email protected]> \r\n";
mail("[email protected]","Subject",'New test <img src="http://www.someserver/image.jpg">',$htmlHeaders);
what I noticed is that for some images (I always link the images through an http link) are working fine and the mail is delivered correctly, while for some other images I get problems; that is, the image is NOT delivered.
For example, trying to use this image wont work: http://img826.imageshack.us/img826/2601/gitaallago.png
I guess it is a problem of headers, but I really do not understand how to fix this.
Any hints?