• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sendmail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sendmail


  • Subject: Re: sendmail
  • From: Michael Grant <email@hidden>
  • Date: Mon, 03 Feb 2003 12:42:20 -0600

On 2/3/03 11:56 AM, "Andrew Oliver" <email@hidden> wrote:

> Yes, except that if you run the mail command in a terminal window, you get
> to type the message body - i.e. you interact with mail.
>
> According to man mail:
>
>> Sending mail
>> To send a message to one or more people, mail can be invoked with argu-
>> ments which are the names of people to whom the mail will be sent. You
>> are then expected to type in your message, followed by an `control-D' at
>> the beginning of a line.
>
> 'do shell script' doesn't offer the ability to interact with the shell, so
> you can invoke the mail utility, but there's no way to tell it what the
> message is once you've called 'do shell script', or to send a Ctrl-D at the
> end. Piping the message in was the only way I could find to do that.
>
> At least not that I'm aware of. Love to be proved wrong. :)

Hmm, there gotsta be a way, but I'm probably not going to have a chance to
fiddle with it till later this week....

Michael


--
Why are we taking precious military and intelligence resources away from
tracking down those who did attack the United States -- and who may again
attack the United States -- and using them to invade countries that have not
attacked the United States?

- Congressman Ron Paul
_______________________________________________
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.

References: 
 >Re: sendmail (From: Andrew Oliver <email@hidden>)

  • Prev by Date: Re: sendmail
  • Next by Date: text item delimiters maddness
  • Previous by thread: Re: sendmail
  • Next by thread: RE: sendmail
  • Index(es):
    • Date
    • Thread