how to send mail using linux

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
karthik
Spammer :|
Posts: 1
Joined: Tue Sep 05, 2006 11:30 pm

how to send mail using linux

Post 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.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
Post Reply