RE: [PHP] Sending Mail via SMTP
| From: | Richard Heyes | Date: | Wed, 05 Sep 2001 09:11:16 +0000 |
| Subject: | RE: [PHP] Sending Mail via SMTP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66017@lists.php.net to get a copy of this message | ||
> I would like to send mail via SMPT and I guess
> some socket scripting should be done.
>
> any example? any help?
Have a look at cvs.php.net --> php4 --> pear --> Mail
There's an smtp class which should do what you're after iirc. It does
have quite a few dependencies though, off the top of my head you'll need
pear/Mail.php, pear/PEAR.php, pear/Net/smtp.php and maybe someothers
from the Net folder.
HTH
--
Richard Heyes