question about mail_mime

From: Date: Tue, 19 Feb 2002 16:25:09 +0000
Subject: question about mail_mime
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-881@lists.php.net to get a copy of this message
I have been having trouble sending attachments with the mail_mime class. I have the version 1.2.2.2 This is what I tried to do. $mail = MAIL::factory('mime'); $mime->setTXTBody(stripslashes($messageBody)); while (attachments) { $mail->addAttachment($attchment,'application/octet-stream',$value); } $mail->send($address,$mail->headers($headers),$mail->get()); When I send this message I get no body and garbage from the attachments if they are not text. If I am doing something wrong please help me. Thanks in advance Jon

« previous php.pear.general (#881) next »