Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

question bad encoding data to MIME::Lite

by swilting (Beadle)
on Oct 11, 2010 at 07:16 UTC ( #864543=perlquestion: print w/replies, xml ) Need Help??
swilting has asked for the wisdom of the Perl Monks concerning the following question:

I post my patch to MIME:: Lite

This page is on my blog and I describe errors .

I think that MIME:: Lite does not encode the data well

perl gurus have certainly already found the bug . you would be very nice if you help me find the bug .

help me This is the challenge

  • Comment on question bad encoding data to MIME::Lite

Replies are listed 'Best First'.
Re: question bad encoding data to MIME::Lite
by moritz (Cardinal) on Oct 11, 2010 at 07:40 UTC
    I don't quite understand what you want.

    Does the error occur without the patch? Does your patch solve it? If yes, what is it you are asking us? If not, what's the new problem?

    The correct way to submit patches is the bug tracker, so if you think your patch is good, add test cases to the test suite, update the documentation if anything needs documenting, and submit your code+docs+tests patch to RT.

    Perl 6 - links to (nearly) everything that is Perl 6.
Re: question bad encoding data to MIME::Lite
by Corion (Pope) on Oct 11, 2010 at 07:18 UTC

    Please don't post off-site links that contain relevant content here. Please post the relevant discussion and code here, so that the discussion here stays within context. Thanks.

      with the minimal exemple

      #!/usr/bin/perl -w use MIME::Lite; use strict; use warnings; my$msg = MIME::Lite->new ( From => '', To => '', Subject => 'test' ); $msg->send('tls','domaine.tld',Hello => 'domaine.tld', Port => "587", +User => "john" , Password => "azerty" , Debug => 4 );

      attempting to issue an email fails . I quote the response of perl -d

      ~]# perl -d Loading DB routines from version 1.28 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::( my$msg = MIME::Lite->new ( main::( From => '', main::( To => 'john.swilting@wanado', main::( Subject => 'test' main::( ); DB<1> c SMTP mail() command failed: MIME::Lite::SMTP::TLS=HASH(0x875a62c) at /usr/lib/perl5/vendor_perl/5.8.8/MIME/ line 2941 MIME::Lite::send_by_tls('MIME::Lite=HASH(0x845e204)', 'mail.fa', 'Hello', '', 'Port', 587, 'User', 'fakessh', 'Pa +ssword', ...) called at /usr/lib/perl5/vendor_perl/5.8.8/MIME/ + line 2581 MIME::Lite::send('MIME::Lite=HASH(0x845e204)', 'tls', 'mail.fa', 'Hello', '', 'Port', 587, 'User', 'fakessh', ... +) called at line 13 Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info. DB<1> q

      is the mail command that happens with errors

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://864543]
Approved by moritz
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-05-27 22:00 GMT
Find Nodes?
    Voting Booth?