开发者

ixwebhosting php mail() issues with subject

开发者 https://www.devze.com 2022-12-15 10:37 出处:网络
I encounter a very strange problem with ixwebhosting. I am able to send email using the php mail() function with $subject = \"test\";

I encounter a very strange problem with ixwebhosting.

I am able to send email using the php mail() function with $subject = "test";

But if $subject = "testing of information send"; then i won't be able to 开发者_开发技巧receive any email

But actually "Mail sent!" was displayed in the php page.

if (!mail($email, $subject, $body, $from)) { echo "Error Sending Email!"; }

else

{ echo "Mail sent!"; }


Is it possible that the email is being classed as spam somewhere down the track? Are you able to get logs from the mailserver indicating whether mail gets sent?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号