I wrote a script to send an email and display an image in body of the email as a logo. The email is sent but the image does not display. I have a folder named images where I stored the image named logo.jpg $to = 'alimoses2003@yahoo.com'; $from = 'jounal@e3journals.org'; $headers = $from; $subject = 'Invitation to Review : [' . $manuscriptCode .']'; $message = ' <html> '; $message .= '<div align="right"><img src="http://www.e3journals.org/images/logo.jpg"></div>'; $message .= '<div align="center"><b>'.$subject.'</b></div><br>'; $message .='Dear '.$reviewerName.',<br><br>'; $message .='We wish to inquire if you could create time to review the manuscript titled:<br><br>'; $message .= '<b>Review of '.$_POST['articleTitle'].'</b><br><br>'; $ok = @mail($to, $subject, $message, $headers); Please someone should help me look it up
Clients like gmail will turn off the image by default. You can not show them. Did you try multipart html? It should work. But I didn't test it.
Whether an individual recipient sees the picture is determined by how that recipient has his email client set up. You can't control it. That's why the best solution is to include anything that's not pure text as an attachment.