LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Supplying hostname/username/password to sendmail (https://www.linuxquestions.org/questions/linux-networking-3/supplying-hostname-username-password-to-sendmail-515472/)

pwabrahams 01-01-2007 09:38 PM

Supplying hostname/username/password to sendmail
 
In order to send mail through my ISP, I need to provide three pieces of information: the ISP's hostname for SMTP, the username of my mail account at the ISP, and the password of my mail account. What would be the correct sendmail call to send message to recipient using mail account username with password passwd via the ISP with smtp address smtpaddr?

This question arose in another thread in connection with using the PHP5 command mail() on a web page being interpreted by Apache. For Linux mail() it can be accomplished with the .mailrc entries
set smtp=smtp.comcast.net
set smtp-auth-user=pwabrahams
set smtp-auth-password=xxx
but I need to use sendmail because that's how PHP mail is implemented.

pwabrahams 01-09-2007 08:32 PM

Please see the thread http://www.linuxquestions.org/questi...d.php?t=515217
for the answer I found to this question.


All times are GMT -5. The time now is 07:49 PM.