in reply to Re: Can I clean this up??
in thread Can I clean this up??
my $mailer = Mail::Mailer->new('smtp', Server => $my_local_smtp);This just opens a connection to the local SMTP server, whatever that is, and drops off the message to be sent. The retrying, error handling, and so forth, they are taken care of by that process, wherever it may be. If it takes a significant amount of time to resolve the DNS for your local mail server, you've got to wonder what the heck is wrong with your ISP. That queueing and retrying is done by the SMTP server, not you. Your script can move on the instant you're finished writing to the socket, and that should't take very long at all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can I clean this up??
by Abigail-II (Bishop) on Jul 24, 2002 at 13:46 UTC | |
by tadman (Prior) on Jul 24, 2002 at 14:17 UTC | |
by Abigail-II (Bishop) on Jul 24, 2002 at 14:38 UTC |