osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

can local install send email out?

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-22-2005, 07:50 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default can local install send email out?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-22-2005, 07:57 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default RE: can local install send email out?

just checkin the notify box for this post
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-23-2005, 07:12 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,059
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: can local install send email out?

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


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-23-2005, 06:35 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default RE: can local install send email out?

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!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-24-2005, 10:51 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default RE: can local install send email out?

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 09:23 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax