Re: using a username and password with mail()
| From: | CPT John W. Holmes | Date: | Mon, 07 Apr 2003 15:40:58 +0000 |
| Subject: | Re: using a username and password with mail() | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26904@lists.php.net to get a copy of this message | ||
> Say the server is mail.testserver.com
> my login is: twostep+testserver.com
> my password is: twostep
>
> Where would I make those declarations? In the php.ini files or in the
> actual php page? Examples would be most helpful.
You can't specify login credentials with the regular mail() function. You'll
need to use an SMTP class. There are some available at phpclasses.org.
---John Holmes...