-   Linux - Networking (
-   -   Supplying hostname/username/password to sendmail (

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-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
for the answer I found to this question.

All times are GMT -5. The time now is 07:05 AM.