On 10/17/2004 06:13 PM, Terabyte wrote:You may want to try this class that comes with a wrapper function named> The full error is as follows:
> Warning: mail(): SMTP server response: 530 authentication required - for
> help go to [url]http://help./help/us/mail/pop/pop-11.html[/url] in c:\program
> files\apache group\apache\htdocs\send_simpleform.php on line 10
> I receive the error above when I attempt to send mail via a PHP script.
> From what I have read the PHP mail() function does not support Authenticated
> SMTP, just uses SMTP on the localhost, or that configured in the PHP.ini
> What I was reading suggested to use the PEAR functions. Hm... after looking
> that the functions PEAR provides PEAR may not work on a WIN machine. OR
> maybe I don't understand what I have read. Yep I am learning PHP.
> How do I get around this situation?
smtp_mail(). It emulates the mail() function, except that it makes your
message be routed to a SMTP server of choice authenticating if necessary
like in your case:
You also need these auxiliary classes to make the actual SMTP delivery
PHP Classes - Free ready to use OOP components written in PHP
PHP Reviews - Reviews of PHP books and other products
Metastorage - Data object relational mapping layer generator