PHP script send several emails when Outlook 2010 downloads an image -


using outlook 2010, insert image message intend send. insert image’s url (that points php file shown below) followed “insert” “link file”.

the image displayed correctly in message area of mail.

however, php script sends several emails instead of single 1 when image downloaded , displayed in outlook message area. looks outlook making serval retries load image.

please me how fix problem , make script send single email. php code provided below:

<?php  // show image in browser/email client.  $logo = "http://www.example.com/logo.gif"; // set image full path  readfile($logo);  // send test email     ini_set( 'display_errors', 1 );     error_reporting( e_all );     $from = "abc@isp1.com";     $to = "def@isp2.net";     $subject = "test email";     $message = "this test check image download";     $headers = "from:" . $from;     mail($to,$subject,$message, $headers); ?> 


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -