Re: mail() works, Pear::Mail doesn't...
| From: | Chuck Hagenbuch | Date: | Sat, 13 Mar 2004 22:20:15 +0000 |
| Subject: | Re: mail() works, Pear::Mail doesn't... | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11281@lists.php.net to get a copy of this message | ||
Quoting Ingo Schommer <lists@chillu.com>:
I tried to execute a simple Pear::Mail-example such as this: <?php include('Mail.php'); $recipients = 'lists@NOSPAMchillu.com';What's the result of send()? -chuck -- "Regard my poor demoralized mule!" - Juan Valdez$headers['From'] = 'richard@example.com'; $headers['To'] = 'lists@NOSPAMchillu.com';$headers['Subject'] = 'Test message'; $body = 'Test message'; $mail_object =& Mail::factory('mail'); $mail_object->send($recipients, $headers, $body);