send mail
[12-Jan-2015 16:02:07 PRC] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: SMTP server response: 550 A valid address is required. in D:\WWW\webmail\program\lib\Roundcube\rcube.php on line 1652
send mail addr:
[email protected], 'XX项目组' <
[email protected]>, '
[email protected]', '
[email protected]',
[email protected], "Wang, Jingna" <
[email protected]>, "Cai, Ying2" <
[email protected]>, "Hu, Yili" <
[email protected]>, "Yang, lili" <
[email protected]>,
[email protected], '
[email protected]', '
[email protected]'
Email address is too long
demo address:"xxxxxx 张三 行政部
[email protected]" <
[email protected]>
or the name in ","
demo address : "Cai, Ying2" <
[email protected]>"
will send mail error : SMTP server response: 550 A valid address is required. in D:\WWW\webmail\program\lib\Roundcube\rcube.php on line 1652
How to solve this problem?
The PHP mail() function has a lot of limitations. You should use an SMTP server if you can.