[Ssh-sftp-perl-users] Peculier Issue with Mail::Sender and the machine
Brought to you by:
dbrobins
|
From: Perl P. <per...@gm...> - 2009-03-18 16:59:34
|
Hi All,
I have written a code which sends a mail using Mail::Sender utility.
When I ran this code at 2 differenct machine (Linux, Solaris), observed the
peculier issue.
At Linux this code works fine, and sends the mail. At solaris this is
not sending the mail, but no warnings & errors.
I used the specific path where the Mail::Sender utility is install. Your
help will be greatly appreciated.
#!/usr/bin/perl
#!/apps/perl/5.8.3/bin/perl
use Mail::Sender;
$sender = new Mail::Sender { from => 'ma...@se...',
};
$sender->Open({to => 'ma...@se...',
cc => 'mu...@se...',
subject => 'A machine.'});
$sender->SendLineEnc("I'm sorry, but due to a big load of work,
I'll come at 10pm at best.");
$sender->SendLineEnc("\nMujju");
$sender->Close;
--
--
Regards,
Mujju
|