I have a working script that sends several different emails using Mail::Mailer. The script works perfectly fine, but I suspect that I'm causing trouble down the line for my smtp provider because the script is sending the emails one at a time and the delay is alarming me.
As far as I can tell from the documentation, the only way to send any email is by openning a new connection to the server, populating the new message and closing the connection to send it on its way. My desktop email client, of course, works by establishing the connection, sending a
of messages before closing the connection and it irks me that I figure out how to do this in Perl. Does anyone have any experience or insights?