Suchergebnisse mit Tag „smtp“
Alex, a co-worker, asked me about sending emails today. He has to send out a mail from a development box which usually isn't allowed to send any emails to the outside world. This is archived by re-mapping the hostname of the company's SMTP-server to a dedicated internal IP providing an SMTP server without outbound abilities. I answered his questions but didn't have the time to explain the background. Here is it.
Sending important mails leads sooner or later makes you search for your mails throughout the logs of your mailserver. Using the unique mail id assigned by the mail server makes things much easier.
Sending mails with Net::SMTP is pretty easy, but it won't show the server reply (containing the assigned transmission id).