Subject: | Invalid conversion in sprintf: "%S" |
Date: | Sat, 03 May 2008 00:00:03 +0200 |
To: | bug-Net-SMTP-TLS [...] rt.cpan.org |
From: | Mikael Bonnier <mikaelb [...] df.lth.se> |
I got this error when using the example in Email::Send::SMTP::TLS:
Invalid conversion in sprintf: "%S" at
/usr/local/share/perl/5.8.8/Net/SMTP/TLS.pm line 254, <GEN0> line 13.
Error sending email: Auth failed: 501 5.5.4 cannot BASE64 decode '%S'
at /usr/local/share/perl/5.8.8/Email/Send/SMTP/TLS.pm line 45
This was fixed by changing %S to %s in the sprintf() call. Then it
worked and I could send email.
Version info:
Net::SMTP::TLS version 0.12
Perl v5.8.8 built for i486-linux-gnu-thread-multi
uname -a yields:
Linux Empathy20080224 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC
2008 i686 GNU/Linux
It's Kubuntu Hardy Heron.
Regards,
// Mikael Bonnier
----
// Web: http://www.df.lth.se/~mikaelb/