Page 1 of 1

how to send mail using linux

Posted: Mon Sep 18, 2006 6:11 am
by karthik
Hi all

I want to know how to configure the mail function in php.ini file. i have copied below the mail function,


mail function]
; Setup for Windows systems
SMTP = smtp.my.isp.net
sendmail_from = me@myserver.com


; Setup for Linux systems
sendmail_path = /usr/sbin/sendmail -t
sendmail_from = me@myserver.com

In the above function where i have to specify the mail server address for linux system.please do help me

Thanks
Karthik.

Posted: Mon Sep 18, 2006 8:49 am
by Chris Corbyn
Linux uses sendmail. That's a local binary and you'll be hard pushed to find a linux installation without it.

If you don't have sendmail you can use SMTP with Swift Mailer.