Skip Menu |

This queue is for tickets about the MIME-Lite CPAN distribution.

Report information
The Basics
Id: 12264
Status: resolved
Priority: 0/
Queue: MIME-Lite

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

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



Subject: Some Japanese mobile phone email addresses cannot be extracted
When sending email using MIME::Lite some (strange, but valid) email addresses cannot be parsed and the send fails. These email addresses are frequently used by Japanese mobile phone users, and can look like xxxxxxxx..k-k..forever..n@yy.dion.ne.jp . Error message is: can't extract address at <..k-k..forever..n@yy.dion.ne.jp> in <xxxxxxxx..k-k..forever..n@yy.dion.ne.jp> I assume that the consequtive dots confuse the module. Attached is a test file with two such addresses. MIME::Lite version is 3.01. Perl is v5.8.1-RC3 built for darwin-thread-multi-2level and v5.8.5 built for i686-linux.
use Test::More tests => 4; BEGIN{ use_ok 'MIME::Lite'; } # test if Japanese mobile phone addresses can be extracted foreach (qw[ simple@org.org xxxxxxxx..k-k..forever..n@yy.dion.ne.jp xhi-abcd-ki.daisuki...@docomo.ne.jp ]) { ok ( MIME::Lite::my_extract_addrs($_), $_ ); }
Subject: Re: Some Japanese mobile phone email addresses cannot be extracted
From: lehmannmapson [...] cnm.de
Show quoted text
> Error message is: > > can't extract address at <..k-k..forever..n@yy.dion.ne.jp> in > <xxxxxxxx..k-k..forever..n@yy.dion.ne.jp>
I got a similar error after moving a site to a new server. Reason: The internal address extraction of MIME::Lite doesn't seem to work well. But on the old server I had installed the Perl-Module Mail::Adress which MIME::Lite uses if it's available. So after installing Mail::Address your problem should to be solved. Regards Marten
In general, if installing the helper module fixes mediocre behavior on the part of MIME::Lite (and no patch is given to fix MIMe::Lite) my advice is: install the helper. -- rjbs