|
Question : E-mailing through telnet - How do you attach files?
|
|
How do you attach files when you send e-mails through telnet?
|
Answer : E-mailing through telnet - How do you attach files?
|
|
the file has to be encoded with UUEncode, Mime or BinHex. and included in the stream of text that is DATA, for example, past this into a text file and open it with winzip:
Content-Type: multipart/mixed; boundary="------------3AD72092361C3C3EB3FD74F5"
This is a multi-part message in MIME format. --------------3AD72092361C3C3EB3FD74F5 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit
Dear Prof I have my interest in visiting you and your Institute. Please receive the attached file about myself and my recent works. Best regards. yours,
--------------3AD72092361C3C3EB3FD74F5 Content-Type: application/x-dvi; name="v.dvi" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="v.dvi"
9wIBg5LAHDsAAAAAA+gbIFRlWCBvdXRwdXQgMjAwMC4wNC4xOTowODQ0iwAAAAEAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////oAKAL9+NoP2v0CGNjZFn+TfzFxry IlYACgAAAAoAAAAGY21ieDEwwkNVUlJJQ1VMVU2WBn/UVklUkf8Kq0FFk09Gk0RSLpEGgDhM SZNNQY6Ony/CHo1QkK45ZXJzb25hbJED1VRkYXRhOo6pEeEPjZEMAADzAEvxYHkACgAAAAoA AAAFY21yMTCrTGmWA1VVTWEsk0JpcnRok3BsYWNlOpsEccdYaWFuLJNDaGluYS6YQmlydGiT ZGF0ZTqYQXByaWyTMTB0aCyTMTk2My6OpAwAAI2RDAAATmF0aW9uYWxpdJC443k6kQRxx0No . . . 9wIBg5LAHDsAAAAAA+gbIFRlWCBvdXRwdXQgMjAwMC4wNC4xOTowODQ0iwAAAAEAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////oAKAL9+NoP2v0CGNjZFn+TfzFxry IlYACgAAAAoAAAAGY21ieDEwwkNVUlJJQ1VMVU2WBn/UVklUkf8Kq0FFk09Gk0RSLpEGgDhM SZNNQY6Ony/CHo1QkK45ZXJzb25hbJED1VRkYXRhOo6pEeEPjZEMAADzAEvxYHkACgAAAAoA AAAFY21yMTCrTGmWA1VVTWEsk0JpcnRok3BsYWNlOpsEccdYaWFuLJNDaGluYS6YQmlydGiT ZGF0ZTqYQXByaWyTMTB0aCyTMTk2My6OpAwAAI2RDAAATmF0aW9uYWxpdJC443k6kQRxx0No
--------------3AD72092361C3C3EB3FD74F5
|
|
|
|