Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where is the php.ini file


dworkman

Recommended Posts

Posted

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

Posted

should be in your /Windows folder if you are on a Microsoft System

Posted

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

  • 2 weeks later...
Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...