Re: Sending Mail from shell script
Re: Sending Mail from shell script
- Subject: Re: Sending Mail from shell script
- From: Nir Soffer <email@hidden>
- Date: Tue, 4 Jun 2002 20:38:39 +0200
In a shell script or the terminal you can use:
mail -s "This is the subject line" email@hidden < "file that
contains the message body"
or:
echo "This is very short message body" | mail -s "This is the subject line"
email@hidden
You can get more information by:
man mail
Nir Soffer
_______________________________________________
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.