Hi
I want to send images via html email. the header i am sending is this:
Content-Type: text/html; charset=iso-8859-1\n
and using this command:
mail("$mail","$title","$message","$headers");
and trying to send a little logo using:
http://server.com/images/logo.gif
this is the code:
$headers = "Content-Type: text/html; charset=iso-8859-1\n";
$headers.="From: $whosent\n";
$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>?
Thank“s in advance