I didn't seem to have an issue with this until recently, I believe it started when I began using Chronoforms 3.0.
Anyways, I did some digging into why emails weren't reaching my inbox and finally got a failure bounceback email that said "Remote host said: 550 5.7.1 Requested action not taken: message refused". After googling that error for a bit I decided to try something, in chronocontact.php I noticed that the html email template was the following
I changed it to this instead to try it out...
All I did really was add the charset meta tag and pulled out the JURI::base() from the string and added it with the dot syntax. It appears that with the charset all the emails are now getting through. I'm not sure what about it stopped our Exchange server from dropping it as spam but that would appear to be the case.
I hope this helps someone else out there that can't seem to get emails from Chronoforms to their inbox.
Anyways, I did some digging into why emails weren't reaching my inbox and finally got a failure bounceback email that said "Remote host said: 550 5.7.1 Requested action not taken: message refused". After googling that error for a bit I decided to try something, in chronocontact.php I noticed that the html email template was the following
$email_body = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
<html>
<head>
<title></title>
<base href=\"JURI::base()/\" />
</head>
<body>$email_body</body>
</html>";
I changed it to this instead to try it out...
$email_body = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
<base href=\"".JURI::base()."/\" />
<title>Email</title>
</head>
<body>$email_body</body>
</html>";
All I did really was add the charset meta tag and pulled out the JURI::base() from the string and added it with the dot syntax. It appears that with the charset all the emails are now getting through. I'm not sure what about it stopped our Exchange server from dropping it as spam but that would appear to be the case.
I hope this helps someone else out there that can't seem to get emails from Chronoforms to their inbox.
Hi StevenW721,
Great find, thank you. I noticed something odd with the JURI::base Just today - Perhaps it is the 'faulty' URLs that sets of - or help set off - the spam sensors.
I'm sure that Max will get this fixed in the next release.
Bob
Great find, thank you. I noticed something odd with the JURI::base Just today - Perhaps it is the 'faulty' URLs that sets of - or help set off - the spam sensors.
I'm sure that Max will get this fixed in the next release.
Bob
Thank you!! fixed!🙂
Regards,
Max
Regards,
Max
Awesome, no problem just trying to help out. So that fix is in the latest release now?
Hi Steven,
the bug above was fixed yes!
Cheers
MAx
the bug above was fixed yes!
Cheers
MAx
This topic is locked and no more replies can be posted.