Re: Alternate way of e-mailing in PHP
| From: | Manuel Lemos | Date: | Tue, 06 Jan 2004 03:03:37 +0000 |
| Subject: | Re: Alternate way of e-mailing in PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173814@lists.php.net to get a copy of this message | ||
Hello,
On 01/05/2004 08:14 PM, Monty wrote:
I've also tried Manuel Lemos' MIME, SMTP, and MAIL classes but they don't work for me either. The only thing that works in PHP for sending e-mail is by opening Sendmail as a separate process using popen() within PHP, then writing directly to it using fputs.The MIME message composing and sending class has a sub class to use sendmail directly with popen. Just include also the sub-class file and specify new sendmail_message_class to create the message object instead of email_message_class. You may just need to configure the sendmail program path, /usr/sbin/sendmail in your case. If you can send your messages using sendmail program, you can use this class as it does exactly what you do. http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/