AW: sendmail attachments
From: Thomas Rupp (Thomas.Rupp_at_ILLWERKE.AT)
Date: 11/25/04
- Previous message: Holger.VanKoll_at_SWISSCOM.COM: "Re: sendmail attachments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Nov 2004 18:34:58 +0100 To: aix-l@Princeton.EDU
I use the following approach to send emails with some text in the body and attachements:
1) Encode the attachement Anhangdatei: uuencode test.txt test.txt > test.uu
(you have to repeat test.txt 2 times)
2) Combine Attachement plus Bodaytest: cat test.body test.uu > test.out
3) Send Mail: mail -s Subject to.user@company.com <mailto:Subjectthomas.rupp@illwerke.at> < test.out
Hope this helps
Thomas Rupp
-----Ursprüngliche Nachricht-----
Von: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] Im Auftrag von Mark Schlechte
Gesendet: Donnerstag, 25. November 2004 18:19
An: aix-l@Princeton.EDU
Betreff: sendmail attachments
I've searched the archive and google but can someone help me with this.
I send attachments from my aix servers to my groupwise email account through our SMTP gateway
via the < command (ie. mail user@domain <attachement).
With this method the attachment arrives as the message body rather than an attachment as desired.
Is there another way to do this? Can I make a configuration change in sendmail or is this
a function of my gateway and uuencoded vs MIME attachments?
Mark
DISCLAIMER: The information transmitted is intended only
for the addressee and may contain confidential,
proprietary and/or privileged material. Any
unauthorized review, distribution or other use
of or the taking of any action in reliance upon
this information is prohibited. If you received
this in error, please contact the sender and
delete or destroy this message and any copies.
- Previous message: Holger.VanKoll_at_SWISSCOM.COM: "Re: sendmail attachments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]