使用PHP从SMTP服务器发送电子邮件
$from = "someonelse@example.com";$headers = "From:" . $from;echo mail ("borutflis1@gmail.com" ,"testmailfunction" , "Oj",$headers);SMTP server response: 530 SMTP authentication is required.
[mail function]; For Win32 only.; http://php.net/smtpSMTP = localhost; http://php.net/smtp-portsmtp_port = 25; For Win32 only.; http://php.net/sendmail-fromsendmail_from = someonelse@example.com
php.ini
慕无忌1623718
狐的传说
随时随地看视频慕课网APP