osCmax v2.5 User Manual
Results 1 to 5 of 5

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

      
  1. #1
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    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

  2. #2
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    Default RE: can local install send email out?

    just checkin the notify box for this post

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


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

  5. #5
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    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 - To contact, post on the forum or click here
    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!

Similar Threads

  1. send email to customers
    By joanstead in forum osCMax v2 Features Discussion
    Replies: 3
    Last Post: 02-17-2006, 07:18 AM
  2. How To Send HTML in Email and Newsletters
    By harborsales1 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 07-08-2004, 06:44 PM
  3. When I buy the product, why no email send to Admin ?!
    By toniwong in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 05-11-2004, 10:58 PM
  4. I can't send more than one email, WHY???
    By toniwong in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 05-10-2004, 09:35 PM
  5. Send email from shopping_cart.php
    By neil in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 01-29-2004, 01:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •