Subject: | Problem with cyrillic chars in mail subject. |
Date: | Tue, 13 Sep 2016 19:55:55 +0300 |
To: | bug-Email-Send-SMTP-Gmail [...] rt.cpan.org |
From: | tirramissu <tirramissu [...] gmail.com> |
Hello!
I've found a problem with the module with non-latin chars in message
subject field.
[image: Inline image 1]
Module inserts 'Date: DATE_HERE' string into it.
Here's a raw mail example:.
[image: Inline image 2]
And here's how it was inited:
my $mail = Email::Send::SMTP::Gmail->new (
-smtp => $cfg->{IMAP},
-login => $cfg->{USER},
-pass => $cfg->{PASS}
);
$mail->send (
-to => $cfg->{MAIL_TO},
-subject => $cfg->{MAIL_SUBJECT},
-verbose => $cfg->{DEBUG},
-body => '',
-attachments => "/XSLX_FILE_PATH.xlsx"
);
$mail->bye;
Hope this might help!