PHP配置中的SMTP

时间:2014-03-31 16:34:50

标签: php email smtp gmail

此配置有什么不好?

// smtp hostname of your server, you can use localhost if
// it is the same server.
define ("MAIL_HOST", "smtp.gmail.com");

// SMTP username of your server, it is the same like
// PASSWORD if you use the same server
define ("SMTP_USER","fname.sname15@gmail.com");

// SMTP password of your server, it is the same like
// PASSWORD if you use the same server
define ("SMTP_PASSWORD","lololololo");

0 个答案:

没有答案