如何从电子邮件正文中提取附件(编码为base64)
当附件到达时,如何将其编码为电子邮件正文,如何从电子邮件中提取附件: ------ =_NEXTPART_FORMSCAPE_MAIL_message101122101615 Content-Type: application/octet-stream; name="MyFile_hasalongish filename_22-NOV-2010.pdf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="MyFile_hasalongishfilename_22-NOV-2010.pdf" Content-Description: MyFile_hasalongishfilename_22-NOV-2010.pdf JVBEDi0xLjMKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0 ZFRGVSdsfSDF43N0cmVhbQp4nJ0b23IVN/LdXzG1D7vnbOUMo9tISiWpBduAN2CMbZJN [...] OUIwOEYxRDcyRjkwRDAxRUU1QzBDMjhEM0Y+XQo+PgpzdGFydHhyZWYKMTMwNDQKJSVF T0YK ------ =_NEXTPART_FORMSCAPE_MAIL_message101122101615--