what is best way to send email from PHP using server authantication.
Userid & Password & outgoing mail server...
Thanks
Use the PEAR Mail module. See the PHP: mail documentation .
Zend_Mail支持SMTP身份验证
The simple answer is to use a library like one of the following:
One of many ways, it really depends how your scripts works. More info would be helpful. But you could just create a method that accepts the userid and password, validate the user against your database, and, if true send the email.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.