Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

where can i set the SMTP email server Name


Imran-Saami

Recommended Posts

I'm running my store on windows based Apache. I'm new to php world.

I need to set the email server name. I have a SMTP server. plz tell me where can i change the name of the server.... in database or any specific file.

 

Thanks in advance...

Link to comment
Share on other sites

The SMTP server is set in the php.ini file. If you are on a shared hosting site, most likely you will not have access to the php.ini file. You will need to add a line such as the following to the application_top.php file:

 

$smtpserver = ini_set('SMTP', 'yoursmtpserver.com');

Link to comment
Share on other sites

Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\php\webs\catalog\admin\includes\classes\email.php on line 488

 

I changed in php.ini but the error is the same.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...