Re: [PHP3] mail() via qmail didn't work

From: Date: Wed, 14 Jun 2000 00:35:07 +0000
Subject: Re: [PHP3] mail() via qmail didn't work
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1787@lists.php.net to get a copy of this message
In article <20000606031435.9215.qmail@group.infoasia.net>, juang@infoasia.net.id wrote: > Hi, > > How to send an email via qmail+sqwebmail+vpopmail, i have make a script to > send an email and send it to myaccount@myserver.com and > myotheraccount@otherhost.com. But I can't recieved the email that i have > send. And have no error messages. There's a sendmail wrapper for qmail, right? Point sendmail in php3.ini at that: sendmail_path = "path/to/qmail/sendmail_wrapper -t" Then just do: mail("myaccount@myserver.com", 'subject', 'body', "Cc: myotheraccount@otherhost.com\r\n"); See mail() function docs for more detail. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#1787) next »