Solved

E-mailing through telnet - How do you attach files?

Posted on 2003-12-07
4
1,381 Views
Last Modified: 2010-08-05
How do you attach files when you send e-mails through telnet?
0
Comment
Question by:Caudax
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
chicagoan earned 20 total points
ID: 9894890
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

0
 
LVL 4

Author Comment

by:Caudax
ID: 9900074
Thanks!
0
 
LVL 4

Author Comment

by:Caudax
ID: 9900103
BTW: Where is a mime encoder?
0
 
LVL 18

Expert Comment

by:chicagoan
ID: 9900589
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now