← Back to team overview

sslug-teknik team mailing list archive

RE: Hvordan sendes en fil med "Mail"?

 

> Martin Møller Pedersen wrote:
> >>>Hvordan er det nu lige man bruger "mail" funktionen i UNIX / Linux?
> >>>Jeg skal sende en fil fra A til B.
> >>>
> >>>På forhånd TAK
> >>>
> >>
> >>Søgning på google: Unix mail send file
> >>gav dette:
> >>Sending files as mail attachments
> >>http://www.shelldorado.com/articles/mailattachments.html
> >>
> >>Det ser ud til at være noget i denne retning:
> >>mail B@domain < fil
> > 
> > 
> > Det vil ikke virke på binære filer.
> > 
> 
> Ovennævnte link siger godt nok:
> Sending binary files does not work well for the Internet.
> og anbefaler at bruge uuencode:
> uuencode surfing.jpeg surfing.jpeg | mail sylvia@xxxxxxxx
> 
> That's all! If Sylvia uses a current mail reader like 
> Mozilla, Netscape 
> Messenger or Microsoft Exchange, she will see a mail 
> containing just one 
> file attachment: the file "surfing.jpeg". In the command 
> above we had to 
> specify the file name two times: the first name denotes the 
> input file 
> to be encoded, and the second name is the file name the 
> recipient will see.
> 
> -- 

Linket beskriver også mutt.

Det er en meget god måde at sende attachments, og er også meget nem
at indbygge i scripts.

 
Med venlig hilsen / Regards
 
Frank Larsen
Kimik IT A/S
PO Box 740
3900 Nuuk
Greenland
Mail : support@xxxxxxxxxxx
Phone: +299 34 20 00
Fax  : +299 34 20 01
Skype: larsen_frank
Gmail: franklarsen19xx