Re: using a username and password with mail()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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...


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux