Can anyone explain what's the difference between using sendmail and an SMTP server?
I am not an expert in MTAs but I think the SMTP server puts the messages in a queue and try to send them following some rules, while sendmail tries to send them immediately. SMTP can be configured to try sending the message the first time immediately, or only after a certain time, and it can also be configured to make the next tries at certain specified intervals. I don't know how sendmail works and what happends if it doesn't succeed sending the message on its first trial. So, does anyone know how they work? I am asking this because I have seen some recommendations of using SMTP it is available and some others saying that sendmail should be used if it is available. Teddy ----- Original Message ----- From: "Foo Ji-Haw" <[EMAIL PROTECTED]> To: "Bowie Bailey" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Thursday, December 29, 2005 04:34 AM Subject: Re: Best module for sending e-mail? > > > > >Are any of these other modules faster than Net::SMTP? > > > >I was writing a Perl program that was sending a lot of mail. I did some > >performance testing and found that (on Linux), it was faster to shell > >out and call sendmail than to use Net::SMTP. > > > > > > > If I understand Net::SMTP right, it actually does 2 modes of mail > delivery: sendmail and SMTP. If you have sendmail, you may want to try > the former. > _______________________________________________ > ActivePerl mailing list _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
