屏蔽phpmailer错误

WBOY
Release: 2016-06-23 13:47:03
Original
1035 people have browsed it

类似于SMTP Error: The following recipients failed

如何屏蔽


回复讨论(解决方案)

提示错误的原因是收件人地址错误。

我就就是想屏蔽收件人地址错误这类提示(收件人地址不存在)

总的来说就是如何屏蔽phpmailer的错误提示

那句话 前面 加@ 看管用么

用try catch

如果有错误,就不执行,跳过执行。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template