Hello there, I'm using MIME::Lite to send E-mails out that are generated from a Perl script. I seem to be having problems with the date field. When I hard code a date into the message e.g.
$msg = new MIME::Lite From => $from, To => $to, Date => 'Wednesday 20th March 2002 17:30', etc it works fine & the resulting E-mail includes the time the mail was sent. If I try to pass $date from Perl using localtime it does not work. e.g. $date = strftime "%a %d/%m/20%y %H:%M", localtime; (I know I get a valid date here) $msg = new MIME::Lite From => $from, To => $to, Date => $date, etc Does anybody know the rules regarding the date field and what it expects. I cannot find the key info I require on CPAN. Any info greatly received Richard. Richard Mace Fradley Telephone Unit Lorien PLC -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]