Hi,

Embperl::Mail doesn't send Date header which makes the mail look dated '1.1.1970' in Mozilla based clients. I add it manually like this

($year,$month,$day, $hour,$min,$sec) = Today_and_Now();
$date = Day_of_Week_Abbreviation(Day_of_Week($year,$month,$day)) . ", $day " . Month_to_Text($month) . " $year $hour:$min:$sec";
Embperl::Mail::Execute({ input => \$mail, subject => 'Email z wwww stranek', to => $to, from => $fdat{email}, mailheaders => [ "Date: $date" ], mailhost => 'rumcajz.pcv.cz' });


I'm not sure what the relevat FRC says but it would be practical if Embperl did it itself, but then I'm not sure what format it should be, what about timezones etc.

Gerald, what do you think?

- Robert

P.S. I noticed I have to manually add mailhost => 'rumcajz.pcv.cz' even if I have Embperl_MailHost rumcajz.pcv.cz in my config - is this a know bug?


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to