Fellow monks,

I'm working on a project where I send an encoded web based form as an e-mail and want to retrieve it via a web based client on the other end.

The encryption is working just fine on both encoding and decoding - that is if I look at the message in my e-mail client. However when I try getting the message using Mail::POP3Client, it appears to be losing some line breaks along the way as shown by the PGP snippets below.

What I'm getting -----BEGIN PGP MESSAGE----- Version: Crypt::OpenPGP 1.03 hQIOA3d7Jqbzm +ZZ1EAgAggmlYb1TnK+xTIw4jmxEfIn78S+6tNccDK3576FRJxKZ --clipped-- KoaBzlX71FsQUXLNPPjy9OyG/ikB6U4SZJ0LrRetb+KlAhKdvo8ygZKajilHsEm8 Z9lEE +16m =3D1k9I -----END PGP MESSAGE----- What it should be: -----BEGIN PGP MESSAGE----- Version: Crypt::OpenPGP 1.03 hQIOA3d7JqbzmZZ1EAgAsGxJsR3nzBWKi9JDUpMGhRoCnPTPPHp/61nMKnsL8EWI --clipped-- BeX+Hm9fh/UAeeHPClTq2JuDY1EEqg== =YcK/ -----END PGP MESSAGE-----

As you can see, the -----BEGIN and the Version should be on seperate lines ( as they show up in my e-mail client ) but they aren't.

I keep getting error messages of a bad checksum, which I am thinking is directly related to the message formatting being messed up. Can someone either reccomend how to solve the problem at hand or is there a different module I should be looking at for retrieving e-mail?

Useless trivia: In the 2004 Las Vegas phone book there are approximately 28 pages of ads for massage, but almost 200 for lawyers.

In reply to Mail::Pop3Client messing up PGP email messages by Popcorn Dave

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.