Results 1 to 6 of 6

Thread: How to set up a mail server?

  1. #1
    Join Date
    May 2009
    Posts
    62
    Thanks
    19
    Thanked 3 Times in 3 Posts

    Default How to set up a mail server?

    Ei, I'm having a problem using the mail function in PHP since it requires me to have a mail server... I have tried downloading software which manage this mailing system but dunno how to set it up so that I can use the mail function... Can anyone tell me how?

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    Installing a mail server script is probably the most complicated solution possible. If you don't already have a good idea about how to set it up, it will be really difficult.

    I'd strongly recommend simply finding a server that already supports mail().

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    If you can't get mail() to work, then you probably won't be able to access a low enough level on the server to install a server.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    May 2009
    Posts
    62
    Thanks
    19
    Thanked 3 Times in 3 Posts

    Default

    What should I do?

  5. #5
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    create a new document named check.php

    in check.php put the following only:

    PHP Code:
    <?php phpInfo(); ?>
    upload it to the root folder so it can be accessed at: http://www.yoursite.com/check.php

    Then go there. Scroll down until you see entries for send_mail there should be 2, 3 or 4 depending on your servers set up.

    Post back either with the link to that page or what the send_mail sections have listed.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  6. #6
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    Quote Originally Posted by heavensgate15 View Post
    What should I do?
    Quote Originally Posted by traq
    I'd strongly recommend simply finding a server that already supports mail().
    honestly, that's the best option (if, after you check you phpinfo, you find that your current server truly doesn't support it). You shouldn't need much of a hosting plan to use mail().

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
  •