> I have some jpgs I'd like to send as attachments with automatically
> generated (via PHP) e-mails. Does anyone have any suggestions as to how
> I might go about this?
Check this out: http://www.zend.com/codex.php?id=103&single=1
Regards,
Sean
--
PHP General Mailing List (http://www.php.n
At 15:17 9/5/2001 -0400, Tym Rehm wrote:
>You have to open the file and encode it.
>Check out this:
>
>/* Define the attachment and encode it base64 */
>$filename="/var/www/sf/Ftp_User_Info.doc"; $fd = fopen($filename, "r");
>$contents = fread($fd, filesize($filename));
>$encoded=chunk_split(ba
t;add_attachment($data, $file_name, $file_mime_type);
// send e-mail
$mail->send();
Look in phpclasses.upperdesign.com or search in Google.
-Ben
-Original Message-
From: Tym Rehm [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 12:18 PM
To: [EMAIL PROTECTED]
Subject: Re: [
You have to open the file and encode it.
Check out this:
FitnessQuest FTP user request form - results
FAILED!";
print "This form can't be sent! You did not fill the form out
completely!The email address is missing!";
print "Please click the back button and fill in the email
address";
4 matches
Mail list logo