Hi
I want to send images via html email. but the image is not displayed. i am using the entire url for the image .
the header i am sending is this:
Content-Type: text/html; charset=iso-8859-1n
there is any mime type i have to use?
i am using this command:
mail(“$mail”,”$title”,”$message”,”$headers”);
and trying to send a little logo using:
[url]http://server.com/images/logo.gif
this is the code:
$headers = “Content-Type: text/html; charset=iso-8859-1n”;
$headers.=”From: $whosentn”;
$result=mysql_query(“SELECT * FROM news”) or die(“Fail”);
while ($line=mysql_fetch_array($result)) {
$mail=$line[‘EMAIL’];
mail(“$mail”,”$subject”,”$message”,”$headers”);
}
But the logo is not sent how can i workaround this problem?
the header i am sending is correct for this type of email? do i have to specify a mime? or <base img>? any extra tag?
Thank´s in advance