You are not logged in.
Pages: 1
I am trying to use a PHP script to send mail with the PHP mail() function. Looking at phpinfo(), I see "/usr/sbin/sendmail -t -i" for the local and master values of sendmail_path. However, if I manually issue "/usr/sbin/sendmail -t -i" as root, I receive the error "-bash: /usr/sbin/sendmail: No such file or directory". Do I need to install sendmail? I cannot find a package for it on Arch... Does anyone know what I am doing wrong?
Last edited by tony5429 (2008-04-25 18:41:03)
Offline
Try postfix, courier-mta or ssmtp. All of them have a sendmail binary. If you don't need a full-blown mta, ssmtp may be the best bet, but any will do.
Offline
Just switched to postfix and it works perfectly for me. Thanks!
Offline
Pages: 1