Forums

Chronoforms Emails Marked as Spam

StevenW721 23 Mar, 2009
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
$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.
GreyHead 23 Mar, 2009
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
Max_admin 24 Mar, 2009
Thank you!! fixed!🙂

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
StevenW721 10 Apr, 2009
Awesome, no problem just trying to help out. So that fix is in the latest release now?
Max_admin 13 Apr, 2009
Hi Steven,

the bug above was fixed yes!

Cheers
MAx
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.