Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    May 2007
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Apache Server Email Set-up

    I have been running php using localhost on Apache and was trying to send form data by email. I get smtp error.

    What do I need to do to configure Apache for email or would there be a site or tutorial that covers this set-up?

    Your assistance would be appreciated
    thahks

    mitch

  • #2
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    You'd need a smtp server on you host or configure PHP (in php.ini in the [mail function] section) to point to another smtp server. Alternatively you could search google for a class that sends the mail without the mail funtion.
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #3
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    866
    Thanks
    7
    Thanked 30 Times in 29 Posts
    Check out this class

    http://phpmailer.sourceforge.net/


  •  

    Posting Permissions

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