osCommerce Error : "Your E-Mail Address does not appear to be valid - please make any necessary corrections."

I have a client who has an osCommerce site. When a user tries to register they receive this error even when their email is valid. I entered my own email address with no luck as well. I checked the configuration and  "Verify Email Addresses Through DNS" is set to false. What else could the problem be?

I know, not very pretty, but it's what they got :
https://www.ip6gold.com/cart/create_account.php

Any Ideas?
swtwebdesignAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paolo SantiangeliConsulente InformaticoCommented:
0
swtwebdesignAuthor Commented:
Like I said, I already checked and the verification through DNS is already set to false and yes, the tld file already exists.
0
Hube02Commented:
It could be that trying to send mail is failing in some way on the server rather than a setting in OScommerce. (but I'm not sure, we can try some testing...)

Try the attached script and let me know what happens. (replace the email addresses with your own.

Does it produce any errors?
Do you receive the email?

Also, I'm assuming this is on a shared environment somewhere, could be wrong, but if it is, can you provide the host name. This could have some bearing, maybe not.
<?php
  
  error_reporting(E_ALL);
  ini_set('display_errors', '1');
  
  $to = 'your@address.com';
  $subject = 'test';
  $message = 'test';
  $from = 'your@address.com';
  
  mail($to, $subject, $message, $from);
  
?>

Open in new window

0
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

abelCommented:
If you look through the code, there are really only two places where it can go wrong (see below). A brute force way to solve this error is to remove the tep_validate_email... altogether (comment lines 5-8). This won't harm your site and will allow the people to sign up again.

   if (strlen($email_address) < ENTRY_EMAIL_ADDRESS_MIN_LENGTH) {
      $error = true;
 
      $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR);
    } elseif (tep_validate_email($email_address) == false) {
      $error = true;
 
      $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
    } else {

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
abelCommented:
You changed something, everything works now! ... ;-)
0
abelCommented:
well, close: some include files are not present apparently, because on the following page I receive errors now.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
E-Commerce

From novice to tech pro — start learning today.