dworkman Posted May 25, 2004 Posted May 25, 2004 I tried to search the archives for php.ini, but didn't come up with anything. I am just starting to configure my store. When trying to create a customer account, I get the following error: Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\hshome\dworkman\muffinmanthemovie.com\catalog\includes\classes\email.php on line 500 Suggestions? Thanks. David Workman Executive Producer www.MuffinManTheMovie.com
Guest Posted May 25, 2004 Posted May 25, 2004 should be in your /Windows folder if you are on a Microsoft System
dworkman Posted May 25, 2004 Author Posted May 25, 2004 Hmm ... I'm on a hosted server and only have access to my directory. The error message says: or use ini_set() in D:\hshome\dworkman\muffinmanthemovie.com\catalog\includes\classes\email.php on line 500 I've looked at the email.php file, but I'm not sure how ini_set() would be used here. Thanks for the fast response ... David Workman Executive Producer www.MuffinManTheMovie.com
vasttech Posted May 26, 2004 Posted May 26, 2004 You can set the smtp server on the fly with the following line of code: $setsmtpsrvr = ini_set('SMTP', 'YOUR_SERVER_NAME_HERE'); You can put this application_top.php. It will fix the problem if you do not have access to php.ini. osCommerce Knowledge Base osCommerce Documentation Contributions
dworkman Posted May 26, 2004 Author Posted May 26, 2004 Thanks! I'm sure I'll have more questions as I go. DW David Workman Executive Producer www.MuffinManTheMovie.com
dworkman Posted June 8, 2004 Author Posted June 8, 2004 Ok, I put the ini_set command in application_top.php like this: $setsmtpsrvr = ini_set('SMTP', 'mail.muffinmanthemovie.com'); But now, when I try to create an account, I get the following error: Warning: mail(): SMTP server response: 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1) in D:\hshome\dworkman\muffinmanthemovie.com\catalog\includes\classes\email.php on line 500 Is there something I need to do in my mail configuration to enable this? Thanks much, DW David Workman Executive Producer www.MuffinManTheMovie.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.