SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2001
    Location
    Austin,TX
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is there a way to "configure" mail() function to use an external mail server to send out emails?

    -S
    VARhosting.net - Value-added Reseller Hosting
    http://www.varhosting.net

    24x7 Support for YOUR hosting customers!




  2. #2
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Me thinks this would be set up in php.ini. I'm guessing there would be somewhere where you set the path to sendmail. Just guessing

  3. #3
    SitePoint Zealot
    Join Date
    Mar 2001
    Location
    Austin,TX
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The problem is that I know that I don't have sendmail configured properly and therefore want to send smtp requests to a different mail server.. I'll look in the php.ini file and see what's up.

    -S
    VARhosting.net - Value-added Reseller Hosting
    http://www.varhosting.net

    24x7 Support for YOUR hosting customers!




  4. #4
    SitePoint Zealot p2ranger's Avatar
    Join Date
    Jan 2001
    Location
    Colorado, USA
    Posts
    149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have the beginning PHP Wrox book and it says that you can only use SMTP if you are running PHP on Windows. I'm guessing that since you have sendmail that you are on a *nix machine?

    It shows that there are about 4 lines in the php.ini file for configuring mail()

    [mail function]
    SMTP=localhost ;for win 32 only
    sendmail_from = me@localhost.com ;for win32 only
    ;sendmail_path= ;for unix only, may supply arguments as well

    Jason
    ><>


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
  •