Solved

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

Posted on 2003-12-07
4
1,410 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
is there an export feature for easy reading in task scheduler 9 108
Connect two buildings 6 50
BGP prefix and routing 3 62
Cisco WRVS4400N 11 37
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

830 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