zephiey Posted April 16, 2008 Posted April 16, 2008 I am tweaking an osCommerce for a client. The one thing they have never been able to get to work is the email on contact us page. The emails to the site owner continually return an error from Yahoo Small Business, who is their host. I have been in contact with Yahoo but they have given me no real help other than stating the EMAIL_FROM in the phpadmin must reflect the email address of the site, which it does. Is there a line of code on the contact_us page I must edit or one in the email.php? I am at a loss of what is wrong or how to fix it. The exact error that Yahoo gives is this: Result: 9 From address not in member domain. Message not sent. Would anyone have any ideas? :(
arietis Posted April 16, 2008 Posted April 16, 2008 I am tweaking an osCommerce for a client. The one thing they have never been able to get to work is the email on contact us page. The emails to the site owner continually return an error from Yahoo Small Business, who is their host. I have been in contact with Yahoo but they have given me no real help other than stating the EMAIL_FROM in the phpadmin must reflect the email address of the site, which it does. Is there a line of code on the contact_us page I must edit or one in the email.php? I am at a loss of what is wrong or how to fix it. The exact error that Yahoo gives is this: Result: 9 From address not in member domain. Message not sent. Would anyone have any ideas? :( just a thought here but...if i were using your contact us form, i would enter my email address into the form -- [email protected], let's say. when the script builds the email, the domain of the from address (hotmail.com) would not match shop.com. i'm assuming in your testing you are using different domains? it'd probably work if you sent an email from [email protected] to [email protected]. you should look at changing the contact_us.php script to set the from address in the email to the store admin address, then add a smtp header with a "reply-to: [email protected]" - where [email protected] would be the address that the customer enters on the form. when you use your email program, it would pick up the reply-to address and send the reply to that. i hope that helps.
bpopelar Posted April 16, 2008 Posted April 16, 2008 Which email transport are you using? sendmail or SMTP? Do any of the email functions work (e.g., order emails to the customer, etc)? You might need to add the "[email protected]" parameter as the 5th parameter of the PHP mail() call in the email class in includes/classes/email.php and admin/includes/classes/email.php files. Ben
Recommended Posts
Archived
This topic is now archived and is closed to further replies.