Date: Sat, 29 Jan 2000 13:45:27 -0600 From: Dan Nelson <dnelson@emsphone.com> To: Veaceslav Revutchi <sl@dnt.md> Cc: Victor M <vit@gus.orgus.ru>, questions@FreeBSD.ORG Subject: Re: appended mail Message-ID: <20000129134527.A16937@dan.emsphone.com> In-Reply-To: <Pine.BSF.4.10.10001291912530.43679-100000@zeus.dnt.md>; from "Veaceslav Revutchi" on Sat Jan 29 19:13:05 GMT 2000 References: <Pine.BSF.3.96.1000129211048.11185F-100000@gus.orgus.ru> <Pine.BSF.4.10.10001291912530.43679-100000@zeus.dnt.md>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 29), Veaceslav Revutchi said: > On Sat, 29 Jan 2000, Victor M wrote: > > I can send message to the peer by putting the command in my program: > > > > cat some_message_file.txt | mail my_peer > > > > But this message will be sent in the body of the mail, and I want > > it to be sent as appended file, not in the body. It can be useful > > if you send not readable files, e.g. graphical images. > > > > Any thoughts? > > Try sendmail -t I don't think that's what he wants. He wants a Mime attachment, and neither sendmail nor /usr/bin/mail can do that. I have used mutt to send binary attachments from scripts: echo Shift-Double-click on the attachment to open it in Excel | /usr/local/bin/mutt -s "Monthly report" -a log.csv user@host.com you can attach as many files as you want with multiple -a flags. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000129134527.A16937>