Determining The Mail Server Settings Without Asking

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eros
    New Member
    • Jun 2007
    • 66

    Determining The Mail Server Settings Without Asking

    There is a way to determine the mail server settings needed by the mail() function of PHP. I got an error message "Failed to connect to mailserver". I learned from php.net that I need to configure the pnp.ini.

    Please help me to determine the following without asking somebody:
    1) SMTP = "localhost"
    2) smtp_port = "25"
    3) sendmail_from = NULL
    4) sendmail_path = NULL
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by eros
    There is a way to determine the mail server settings needed by the mail() function of PHP. I got an error message "Failed to connect to mailserver". I learned from php.net that I need to configure the pnp.ini.

    Please help me to determine the following without asking somebody:
    1) SMTP = "localhost"
    2) smtp_port = "25"
    3) sendmail_from = NULL
    4) sendmail_path = NULL
    But aren't you asking someone by asking us for help?

    If you are on Windows, search for that file, then use Ctrl+F to find those strings, make sure they are correct. If you are using Linux, use "find / -name _filename_" where _filename_ is what you are looking for. Then in vi you can use the '/' command to search through it for those strings.

    Comment

    Working...