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
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
but I need to use sendmail because that's how PHP mail is implemented.