This is the constructor I (almost) always use when using Mail::Sender. my $sender=new Mail::Sender {from=>'webmas...@ringways.co.uk', reply=>'webmas...@ringways.co.uk', headers=>'Precedence: bulk', smtp=>'mail.ringways.co.uk', fake_from=>'Webmaster <webmas...@ringways.co.uk>'};
(I can't remember why I had to include the fake_from) I then send the email using something like: my $resp=$sender->MailFile({to=>$options{email}, subject=>"Available stock Report", msg=>'Attached is the spreadsheet containing the available stock list', file=>$fname}); The problem I have is that the headers line doesn't seem to be working as there is no Precedence line in the emails received. This is an old server which hasn't been updated in a while, so I don't think anything has been updated for a while, so presumably it hasn't worked for ages (if ever). I've Google'd this and there is nothing out there that I could find on how to use the headers argument properly. Can anyone suggest what I need to change to get it to work. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/