in reply to Sending Mail from Perl Script
- One thing that is definitely wrong is that you are not using strict nor warnings! All bets are off until you do this...
- Try using the SMTP send method and setting the Debug=>1 flag. This could give you some additional information to work with (NOTE: this code is mostly right out of the MIME::Lite perldocs),
### Create a new multipart message:
my $msg = MIME::Lite->new(
Cc =>'firstname.lastname@example.org, email@example.com',
Subject =>'A message with 2 parts...',
### use Net:SMTP to do the sending
$msg->send('smtp','some.host', Debug=>1 );
Where do you want *them* to go today?