Re: "do shell script" mail
Re: "do shell script" mail
- Subject: Re: "do shell script" mail
- From: Axel Luttgens <email@hidden>
- Date: Mon, 12 Apr 2004 16:15:01 +0200
Mark Butler wrote:
Hi I am new to this list.
Can anyone help me with a shell script command for mail
I can get it to send mail but cant add a subject or message. I dont
want to script "mail" the application as it may not be set up on their
machine.
what form do I need to use to add this?
do shell script "mail email@hidden /-s test"
According to the man page mail(1), the -s option allows to specify a
subject for the message.
So, "mail -s test email@hidden" should do the job with regard to the
message's subject.
Why did you put a slash before the -s (you must have been thinking about
something, but I can't figure what exactly...)?
HTH,
Axel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.