lei_tx Posted September 3, 2011 Posted September 3, 2011 Hello Gentleman, I am a user of oscommerce for about 3 year. I want to share my experience on set up of SMTP mail sending method. because I searched a lot before make it work on my server but can not find a working contribute. My server is Linux CentOS, PHP, nginx, mysql. and don't installed Sendmail So I have to find a way to send email via the website's php mail function. my experience is, you can not config php.ini to make website's email work on linux server. you must find a third-party developed contribution, I introduce PHPMailer download it from http://code.google.c.../downloads/list install very easy. just follow the example from README [HOW TO DO] at your code editor, open includes/classes/email.php find if (EMAIL_TRANSPORT == 'smtp') { at line 519 add the example code from README file and change coresponding line. like host, username, password. at last, comment out return mail go to your webpage and have a try. that's all. Thanks the developer. I just want to share this. Have a nice day.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.