bogus email entry == Cannot instantiate email function?

ddjack59 15 Dec, 2010
Hello Friends,

Setup a form with "Dynamic From' and 'Dynamic from email' in the email config.
Everything working nicely when I use valid entries.

But, testing shows that if I put a non-functioning, bogus email address that passes the validator (ie [email]foo@foo.foo[/email]), form submits but I get the "Cannot instantiate mail function' error and no email gets sent.

Any way to capture this error and tell the user to put in a good email?

Or other thoughts?

Regards,
--Doug
GreyHead 15 Dec, 2010
Hi Doug,

No idea, I'm a bit surprised that it fails with a quasi-valid email address. There are plenty of validation snippets out there. I guess I'd start by seeing if I could find the code that Joomla or PHP Mailer was using and copy that; if that's not accessible then back to Google.

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