I wanted to try Bugzilla 2.23.4 and they now require Email::Send, which requires various Email:: modules, including Email-MIME.

I never had any of these modules loaded and so I let CPAN do it's magic and found Email-MIME failing test t/2.t.

Finally checked Email-MIME requires:

    Email::MIME::ContentType:      1.011
    Email::MIME::Encodings:        1.3
    Email::Simple:                 1.995
    Encode:                        1.9801
    MIME::Types:                   1.13
    Test::More:                    0.47

and saw that CPAN had loaded in more recent versions of those. So deleting what had installed and looking for and installing the closest versions I could find of the requires enabled Email-MIME to pass all tests.

These are the versions I used to install Email-MIME:

Email::MIME::ContentType -- 1.011
Email::MIME::Encodings -- 1.310
Email::Simple -- 1.995
Encode -- 2.18
Test::Simple -- 0.67

When I delete and reinstall the latest Email::Simple (1.998) and then deleted and reinstalled Email-MIME, I get:
==========================================================================
t/1...............ok t/2...............ok 2/0Use of uninitialized value in concatenation (.) or string at /home/jgraf/Desktop/perlmod/Email-MIME-1.857/blib/lib/Email/MIME.pm line 135, <IN> chunk 1. Use of uninitialized value in concatenation (.) or string at /home/jgraf/Desktop/perlmod/Email-MIME-1.857/blib/lib/Email/MIME.pm line 135, <IN> chunk 1. t/2...............NOK 3
#   Failed test at t/2.t line 14.
# got: '+ multipart/related; boundary="----=_NextPart_000_0001_01C3D13C.8846CC50"
#      +
#      +
# '
# expected: '+ multipart/related; boundary="----=_NextPart_000_0001_01C3D13C.8846CC50" # + multipart/alternative; boundary="----=_NextPart_001_0002_01C3D13C.884B8740"
#           + text/plain; charset="us-ascii"
#           + text/html; charset="us-ascii"
#      + application/octet-stream; name="image001.gif"
# '
t/2...............ok 4/0Can't call method "filename" on an undefined value at
==========================================================================
etc.

For me, the most recent rev of Email::Simple does not play well with Email::MIME and this is true on my linux box and a sparc running solaris.

Here are the versions that I settled on. All current versions except for Email::Simple.

Email::MIME -- 1.857
Email::MIME::ContentType -- 1.012
Email::MIME::Encodings -- 1.310
Email::Simple -- 1.995
Encode -- 2.18
Test::Simple -- 0.67

regards,
jim

PS. and now I can't get Email::Reply to pass test:
t/test............NOK 6
#   Failed test 'simple reply matches'
#   at t/test.t line 35.
#          got: 'From: [EMAIL PROTECTED]

Thank goodness it's optional.

Reply via email to