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?
In reply to Mail::Pop3Client messing up PGP email messages by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |