I written a small script in perl to send email.
Here is the code:
my $msg = new MIME::Lite
From =>'[EMAIL PROTECTED]',
To =>'[EMAIL PROTECTED]',
Data =>'Hello this is a test';
$msg -> send;
I have a .mailrc file :
I installed a small mta nbsmtp and i use a shell script called nbsmtp.sh
with this line :
/usr/local/bin/nbsmtp -f [EMAIL PROTECTED] -h ssl0.ovh.net -d elipse -p 465
-U [EMAIL PROTECTED] -P password -M l -s -V
When i execute perl script, there is nothing, why i don't know. That
work well if i writte in /etc/mail/mailer.conf this line:
With .mailrc that doesn't work.Can you help me please ?
Thank you :)
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"