Re: Mail function corrupting images
| From: | Marek Kilimajer | Date: | Fri, 02 May 2003 11:37:13 +0000 |
| Subject: | Re: Mail function corrupting images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146101@lists.php.net to get a copy of this message | ||
Try to use http://www.phpclasses.org/browse.html/package/9.html, it makes adding attachments much easier.
Jeff Schwartz wrote:
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.