This is a discussion on can local install send email out? within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hey everyone! It's been a very long time since I've posted! I just did a local install of max2 and ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hey everyone! It's been a very long time since I've posted! I just did a local install of max2 and wanted to know if it was possible to get it to send mail out using my isp's smtp? I've installed on a mepis linux machine with php4, phpmyadmin and mysql 4.1 (I think these are correct) It might sound like a strange request, but I've recently fallen in love with linux but my invoicing/inventory software only works on windows, soo I want to use this local install to replace that. I will be the only one logging into the store, setting up all the customers and orders (so I can keep track of sales, inventory etc.) I just want to be able to email the customers a copy of their invoices and such. I've done some searching around and haven't found anything, other than max uses the servers settings for sending mail. I don't know how to tell the localhost to use my isp smtp? Thanks in advance |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| just checkin the notify box for this post |
|
#3
| ||||
| ||||
| You will have to change the php.ini settings to use your remote smtp server. Just edit it and look for the smtp settings. Change the server to your ISP's mail server. Then restart apache.
__________________ Michael Sasek osCMax Developer
|
|
#4
| |||
| |||
| Ok, I tried what you suggested, but I'm not sure I'm doing it correctly. I found my php.ini file in etc/php4/apache and this is what I did for mail: [mail function] ; For Win32 only. SMTP = smtp.sasktel.net (changed to this,was localhost) smtp_port = 25 ; For Win32 only. ;sendmail_from = me@mymail.com (this was empty) ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = The unix part, I have no idea what I should put in there? I tried setting the store to smtp but still no mail. I'm thinking I need to put something in the "sendmail_path = " since I'm on linux, but don't know what to use? BTW, to restart apache, I just restarted the computer, how do you stop and restart it using Konsole? Thanks!! |
|
#5
| ||||
| ||||
| The UNIX/linux sendmail program can be found, usually /usr/sbin/sendmail or /usr/lib/sendmail. ie: sendmail_path = /usr/sbin/sendmail In this directive, you can also set configuration flags to specify queuing options or to explicitly set the Return-Path header, such as: sendmail_path = /usr/sbin/sendmail -t -fyou@yourdomain.com However on windows you only need to fill in SMTP = ... and sendmail_from =... (take the ; out to uncomment it - put it in to comment) Linux - COMMENT OUT THE WIN32 lines... and use SENDMAIL option in OSCMAX! Good Luck!
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| send email to customers | joanstead | osCMax v2 Features Discussion | 3 | 02-17-2006 08:18 AM |
| How To Send HTML in Email and Newsletters | harborsales1 | osCMax v1.7 Installation | 2 | 07-08-2004 07:44 PM |
| When I buy the product, why no email send to Admin ?! | toniwong | osCommerce 2.2 Modification Help | 0 | 05-11-2004 11:58 PM |
| I can't send more than one email, WHY??? | toniwong | osCommerce 2.2 Modification Help | 0 | 05-10-2004 10:35 PM |
| Send email from shopping_cart.php | neil | osCMax v1.7 Discussion | 4 | 01-29-2004 02:45 PM |