3

I am running LAMP on my Ubuntu 10.04 Desktop linux and using it as a development machine.

I need to send emails from my php pages, but it seems that the sendmail php command needs sendmail installed on the laptop.

I understand I can install sendmail by sudo aptitude install sendmail, but don't know how to configure it as after installing it and restarting apache2, sendmail from php still does not work and returns no errors at all.

I am assuming sendmail needs to be configured after installing it, before it can be used in php.

Therefore, my question is, how do I install and configure sendmail on ubuntu 10.04 so I can use sendmail via cli at least.

1 Answer 1

0

hope this will help help http://www.sendmail.org/~ca/email/doc8.12/op.html

I haven't tried sendmail, i use postfix.

2
  • why use postfix over sendmail? can I send emails from php using postfix? would it be easier to install and configure postfix? May 6, 2011 at 11:09
  • yes, its very easy.
    – dsaint
    May 9, 2011 at 14:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .