As a \"look under the covers\" tutorial for myself I am building a PHP script to gather emails from a POP3 mailbox. While attempting to make use of binary attachments I am
I had a similar situation, and this is what I did. As noted earlier, make sure to remove the extraneous lines before and after the base64 string.