Forums

Email failure with alpha numeric domain

tobypsl 26 Aug, 2008
Hi

this may not be appropriate to post here - if so my apologies - but this is the closest I have got to a possible answer to an e-mail problem I have with Joomla. I am running version 1.0.11 and the e-mail will not send to any addresses that have the specific alpha numeric domain that I am using. They used to when I was running mambo but just stopped working from the basic contacts form and a forms component I use. They send fine to the yahoo addresses I have tested but as soon as I use the alphanumeric business domain they stop working ...

Am wondering if the e-mail issue (as I have seen a few problems posted but no solutions) is now recognised and an upgrade may fix it ?

anyway if anyone has any ideas I'd be delighted to hear them.
GreyHead 27 Aug, 2008
Hi tobypsl,

There's no validation of email addresses in ChronOForms (apart from the form validation), in Joomla there is a function to check. In Joomla 1.0.x it's in joomla.php
/**
 * Checks if a given string is a valid email address
 *
 * @param	string	$email	String to check for a valid email address
 * @return	boolean
 */
function JosIsValidEmail( $email ) {
	$valid = preg_match( '/^[\w\.\-]+@\w+[\w\.\-]*?\.\w{1,4}$/', $email );

	return $valid;
}
but that '\w' regexp should accept underscores and alphanumberic in all parts of the address.

I wonder if your ISP has some other check in place?

Bob
tobypsl 27 Aug, 2008
Hi Bob

thanks for the prompt response. I guess it may be at the webserver end of things, but the e-mail function used to work with mambo. The domain is just letters and numbers so I don't see how it would fail validation. I have just noted from my searches that a number of people have had the same problem, but no fixes posted. I was just hoping there was some simple 2 min fix to apply, anyway will contact my webhost (when he gets back from his extended holiday) 😀

In the meantime if anyone has a bright idea lightbulb delighthed to hear it !

thanks Toby.
GreyHead 27 Aug, 2008
Hi Toby,

Sorry, too early in the morning, I was misled by the topic title. I've split this to a new thread and renamed it.

As you say, there's no reason for an alphanumeric domain to fail. When you say the email doens't send - what does happen? What message to you get with debug on? If you send a message to the alphanumeric address cc to a gmail address is the gmail copy received - if so what's in the headers?

Bob
This topic is locked and no more replies can be posted.