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:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 6:27 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to