Reputation: 1239
I don't know if this should go into Ubuntu or SO, so if the closure police arrive...I apologise. Anyho,
How can I setup php to send mail on ubuntu? I'm using pear_mime and only have a meagre googlemail account.
sendmail_from has no value.
sendmail_path is /usr/sbin/sendmail (-t -i)
SMTP is localhost and stmp_post is 25
Happy Holidays.
Upvotes: 1
Views: 1152
Reputation: 2829
If you use the Mail and Net_SMTP packages in PEAR, you can use the solution here:
http://globalconstant.scnay.com/2009/11/06/sending-email-through-gmail-using-php/
That's how I got it to work with Gmail.
Upvotes: 1
Reputation: 3275
Or, if this is a dev machine you can simply install a package like "postfix" which will then give you a full email sending environment.
Upvotes: 0