Imran-Saami Posted July 8, 2004 Posted July 8, 2004 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...
vasttech Posted July 8, 2004 Posted July 8, 2004 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'); osCommerce Knowledge Base osCommerce Documentation Contributions
Imran-Saami Posted July 8, 2004 Author Posted July 8, 2004 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.