debajyoti123 Posted July 16, 2006 Share Posted July 16, 2006 Hello All, I am a very new a member.I want to know how to run Mail programs in PHP.Like we have the SMTP server in the IIS, we can run email programs in PHP using IIS.I want to learn how to run mail programs in Apache server. Quote Link to comment https://forums.phpfreaks.com/topic/14746-how-to-send-email-in-php5-using-apache-server/ Share on other sites More sharing options...
masgas Posted August 2, 2006 Share Posted August 2, 2006 Hi, listen I am quite new to all this, but I configured my [color=blue]php.ini [/color] and got the mail () function working ok...So if you want to try this, go ahead:[mail function] ; For Win32 only. SMTP = smtp.onobox.com ([color=red]set here your SMTP[/color]) smtp_port = 25 ([color=red]This is the port I use, I guess nothing should be changed here[/color]) ; For Win32 only. sendmail_from = yourmail@yourmail.com ([color=red]here you place the "from" mail[/color]...) ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = "\xampp\sendmail\sendmail.exe -t" ([color=red]here the path where your sendmail.exe file is installed"[/color]. ) Quote Link to comment https://forums.phpfreaks.com/topic/14746-how-to-send-email-in-php5-using-apache-server/#findComment-67887 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.