Please consider the PHP Script given below. When email is received no image is displayed in the body of the message. I have tested it by sending an email to my yahoo id as well as to our internal domain on Lotus Notes client.
Code: Select all
<?php
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: Test Mail<info@company.com>;" . "\r\n";
$message = "<p>Testing Image <p> <img src='contact.jpg' />";
$status = @mail("users@company.com,someUser@yahoo.com","Test", $message, $headers);
?>So, how can we get images displayed in an email-body with advanced / graphics features enabled?
Note: Only an icon with a X is displayed.