Jump to content

[Solved] Problem with EMail - please help


Recommended Posts

I have setup the shop and all seems to be working until I try sending an email to customer services or webmaster. I get the error:

1. Invalid E-mail address

I have tried setting up both email options Use PHP mail() function and specifically set SMTP mail parameters. Both give the same error.

Can anyone suggest what is wrong ?

Link to comment
Share on other sites

Further information:

I have traced the failure to this line in contact-form.php

if (!($from = Tools::getValue('from')) OR !Validate::isEmail($from))
$errors[] = Tools::displayError('invalid e-mail address3');

I will continue tracing the fault but as I am running the release and all emails I have tried are all correct I can't really think there is a software bug here.

Link to comment
Share on other sites

My problem was caused by the theme in that it displayed the text 'subject' beside where 'My EMail' should go. This caused the email function to reject with the error message 'invalid email address' as I was putting a title in that input box.

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...