首頁 >php教程 >php手册 >php发送邮件怎样才能修改发件人名称请老师指教

php发送邮件怎样才能修改发件人名称请老师指教

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原創
2016-06-06 19:45:551598瀏覽

我将 $this-username = substr( $from, 0, strpos( $from , "@" ) ); 改成$this-username = "新订单"; 测试,出错: Deprecated : Function set_socket_blocking() is deprecated in E:\www\email\sendEmail.class.php on line 27 错误信息5:535 Error: auth

我将   $this->username = substr( $from, 0, strpos( $from , "@" ) );

改成 $this->username = "新订单";

 

测试,出错:


Deprecated: Function set_socket_blocking() is deprecated in E:\www\email\sendEmail.class.php on line 27
错误信息5:535 Error: authentication failed 63

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn