Commonly mailhosts are named mail.domain. # Make this empty to disable The place where the mail goes. # The person who gets all mail for userids < 1000 : Set the mailhub option to the fully qualified hostname for the SMTP server you will be using, so that sSMTP knows where to send outgoing e-mails. GNU nano 2.2.6 File: /etc/ssmtp/nf Modified It provides email validation, SMTP authentication, word wrapping and more. Unlike Exim4, sSMTP does not receive mail, expand aliases, or manage a queue. SSMTP is simple and lightweight, there are no daemons or anything hogging up CPU Just sSMTP. I have configured the /etc/ssmpt/nf to look like the following: SSMTP is a simple MTA to deliver mail from a computer to a mail hub (SMTP server). I already have a fully functioning email address held with bb-online which i can work with outlook to send and receive emails (i can even send myself emails from other email addresses). What i want is that the php mail() will send a simple email to which ever email address the relevant php script decides. I am not sure i have configured my /etc/ssmpt/nf correctly though. I have pointed the apache/php.ini to usr/sbin/ssmpt with the send mail path. I have installed ssmtp onto my ubuntu 11.04 server with php 5.3.5.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |