Re: Mail function corrupting images
| From: | Jeff Schwartz | Date: | Fri, 02 May 2003 16:35:52 +0000 |
| Subject: | Re: Mail function corrupting images | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146150@lists.php.net to get a copy of this message | ||
Thanks, Marek, and I already use that class when creating messages with attachments.
However, in this case I'm forwarding a message with the attachment already in the body plus I
want to preserve the original message headers, which isn't supported by the class.
There must be some way to make mail() work without damaging the contents it sends. ???
Jeff
>Try to use http://www.phpclasses.org/browse.html/package/9.html,
>it
>makes adding attachments much easier.
>>I'm relaying some email messages via mail(). Whenever the body contains a
>>.gif attachment the attachment is unreadable at the other end. I know
>>that mail() inserts exclamation points into text after 1024 characters
>>without a hard break and I've added "\n" to text to solve that. But, that
>>won't
>>work in an image. Has anyone solved this or found a workaround?
>>Thanks,Jeff
---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.