Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

896 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

16 Experts available now in Live!

Get 1:1 Help Now