Re: attachement

From: Date: Sun, 10 Nov 2002 18:14:59 +0000
Subject: Re: attachement
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123715@lists.php.net to get a copy of this message
Hello, On 11/10/2002 11:31 AM, Oliver Witt wrote:
Hi, I wrote a php script that's supposed to enable me to attach files to an email. However, the attached files ends up being a mess of letters. "Hallo" becomes "SGFsbG8=". That must have to do with encoding. Is that a common problem or do you need the entire script?
You need to specify that the encoding is base64. You may want to try this class that is able to compose and send complex messages that include adding attachments, HTML messages with embedded images, message bodies with alternative text and HTML versions, etc.. http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos

« previous php.general (#123715) next »