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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 19:45:551610browse

我将 $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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn