My question has to do with connecting to an smtp host. Most email modules like Mail::Sender or Mail::Bulkmail require knowing the smtp machine name. In my case I want to use the recipient's smtp machine when doing a mailing. For example, sending email to peamasii@hotmail.com, I would connect to mail.hotmail.com as the smtp.
I need to know how to find out the smtp host name for each domain in my list (sometimes, it's mail.domain.com, other times it's smtp.domain.com, etc.). Does anyone have some code that would do this? Most POP servers do this internally but I have no idea how (the POP RFC didn't help me).
In reply to How to determine smtp host on a domain by Peamasii
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |