开发者

PHP mail - need to authenticate with server

I have a PHP mail script and I need to authenticate with my host's SMTP server. I believe I need to use a 3rd party mail class like XPertMailer, but I'm not sure how to set this up.

Here's my script:

//send email containing their password to their email address

mail($email, 'Forgotten Password', "Here is your password: ".$row['password']."\n\nThanks for using my website!开发者_开发百科!", 'From: support@foobar.com');


Use PHPMailer Class ,

You can find a good tutorial here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜