How to mail?

I want to know how to mail a FILE from my college using linux to johannese@mailcity.com

NB:The file is in linux format.
LVL 1
anwar12Asked:
Who is Participating?
 
wittyCommented:
if you have mpack installed on your linux-box, then use:
"mpack -s MySubject MyFile MyDeliveryAddress"

if you have uuenview installed use:
"uuenview -s MySubject -m MyDeliveryAddress MyFile"

otherwise use uuencode:

"uuencode MyFile MyFile | mail -s MySubject DeliveryAddress"
(really 2 times MyFile)

if you don't see an attachment at mailcity, but a lot of characters, then save that as text and use uudeview, to get your attached file!
you will get uuen/deview:
http://www.informatik.uni-frankfurt.de/~fp/uudeview/

Michael
0
 
anwar12Author Commented:
thanks alot michael
your answer is perfectly complete to me
thanks

anwar
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.