Re: php sendmail attachment to stay as a file attachment.

From: Date: Sat, 03 May 2003 04:28:30 +0000
Subject: Re: php sendmail attachment to stay as a file attachment.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146228@lists.php.net to get a copy of this message
Hello, On 05/02/2003 03:56 PM, Slesnett wrote:
Hi, I've got a problem in PHP sending a file PDF to a browser and have it
stay as a file. So when you click on the file, the system issues a call to Acrobat to create the screen image. I'm using the $filecontent=chunk_split(base64_encode($filecontent)); The attachment arrives but print with the email body looking like encrypted text instead of file attachment.
Try this class to compose and send messages with attached files: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos

« previous php.general (#146228) next »