Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 85767
Status: rejected
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.22_01
Fixed in: (no value)



Subject: Net::SMTP and Net::DMS UTF-8
Is Net::SMTP->datasend() UTF-8 friendly? I just got this error, which makes me think that it isn't. Wide character in syswrite at /opt/perl-5.8.8/lib/5.8.8/Net/Cmd.pm line 436 (#1) Uncaught exception from user code: Wide character in syswrite at /opt/perl-5.8.8/lib/5.8.8/Net/Cmd.pm line 436. at /opt/perl-5.8.8/lib/5.8.8/Net/Cmd.pm line 436 Net::Cmd::datasend('undef', 'Errata info at: https://rhn.redhat.com/errata/RHBA-2013-0861....') called at /opt/perl-5.8.8/lib/vendor_perl/5.8.8/NCBI/JiraTicket.pm line 99 ...
Subject: Re: [rt.cpan.org #85767] Net::SMTP and Net::DMS UTF-8
Date: Fri, 31 May 2013 09:01:17 -0500
To: bug-libnet [...] rt.cpan.org
From: Graham Barr <gbarr [...] pobox.com>
On May 31, 2013, at 08:35 , Nigel Horne via RT <bug-libnet@rt.cpan.org> wrote: Show quoted text
> > Is Net::SMTP->datasend() UTF-8 friendly?
SMTP is a 7-bit protocol, I would suggest using Email::Sender as it will ensure you messages are composed correctly before being sent to Net::SMTP http://search.cpan.org/perldoc?Email::Sender Graham.
Show quoted text
> I would suggest using Email::Sender as it will ensure you messages are > composed correctly before being sent to Net::SMTP
Thanks for the pointer and quick response. Email::Sender probably isn't what I need for a technical reason based on the set up here, but I will see if I can get to use it, it'll depend on how configurable it is. -Nigel
Since this module only claims to be an interface to a 7-bit protocol, there are no plans to add UTF-8 support to it.