I would guess that the sendmail program takes so long to finish because it tries to either verify your sender or the recipient address.
Yes, even you can use CPAN. For example MIME::Lite is a well-tested and well working module for sending mails, and it has very few prerequisites.
Alternatively, you could write your mail text to a file and spawn sendmail in the background and feed it from that file:
sendmail <$temp_mail &
In reply to Re: Send mail w(non blocking) default package
by Corion
in thread Send mail w(non blocking) default package
by forumuser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |