RE: [PHP-WIN] it's frustrating

From: Date: Thu, 17 May 2001 13:39:40 +0000
Subject: RE: [PHP-WIN] it's frustrating
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-7671@lists.php.net to get a copy of this message
Are you trying to attach it or put the image in the body of the message? If you are trying to attach it try looking at this message from the archives http://marc.theaimsgroup.com/?l=php-general&m=99003506223055&w=2 Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain www.chieftain.com 1-800-279-6397 -----Original Message----- From: M. Weller [mailto:webmaster@mweller.de] Sent: Thursday, May 17, 2001 6:27 AM To: php-windows@lists.php.net Subject: [PHP-WIN] it's frustrating Hello, does anybody know if it is possible to sent mails with Windows2000 including images??? I am trying now since ages. As long as I echo the result of all works fine. ------------------------- $filename = 'mypicture.jpg'; $myimage = fread($fp = fopen($filename, 'rb'), filesize($filename)); fclose($fp); $inhalt=chunk_split(base64_encode($myimage )); echo $inhalt;//just to check if it's working after that I build the additional headders of the mail function ------------------------- But as soon as I sent an email with the image it echos only about 80% and the email doesn't go. I have no trouble using Linux, but I need to run it under windows. Any idea?? Thanks Markus -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#7671) next »