Mail Problem in Linux

php India
  • 14 years ago

    Hi all,

               I have a problem in sending a  mail using Linux. We use the mail() function while we send a mail using windows. So what is the code for sending the mail using linux.

    I have to change any configuration files when using linux??

    Regards,

    sarvesh

  • 14 years ago
    I would start by checking to see which mail program your linux server is using, and then recheck the requirements and runtime configuration as described in the Mail Functions manual page (http://us3.php.net/manual/en/ref.mail.php).  Specifically check the path settings and the config settings.

    I hope that this helps!



  • 14 years ago
    In linux,
    you just go to the configuration php.ini
    in that at SMTP=give your mail server address.

    Then it might be working correctly.







Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“We better hurry up and start coding, there are going to be a lot of bugs to fix.”