Well, i'm not using directly the sendmail software, i'm using a perl module to do the mailing - Mail::Sendmail
http://search.cpan.org/author/MIVKOV...79/Sendmail.pm
Is it ok to use it instead of playing with the sockets myself like your example, or does this module using the sendmail itself ?
Btw, why not using sendmail ?
Thanks.