From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d2e4aca2cc870be6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!r38g2000prj.googlegroups.com!not-for-mail From: Jerry Newsgroups: comp.lang.ada Subject: Re: How to have Ada program send an email Date: Fri, 17 Dec 2010 15:46:02 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <4f832504-a6df-4912-91df-de932e60ff54@n2g2000pre.googlegroups.com> <4D0BF296.7030604@obry.net> NNTP-Posting-Host: 75.172.183.76 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1292629562 29670 127.0.0.1 (17 Dec 2010 23:46:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 17 Dec 2010 23:46:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r38g2000prj.googlegroups.com; posting-host=75.172.183.76; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/531.21.8+(KHTML, like Gecko, Safari/528.16) (null),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:16019 Date: 2010-12-17T15:46:02-08:00 List-Id: On Dec 17, 4:30=A0pm, Pascal Obry wrote: > Jerry, > > > How can I get my Ada (GNAT) program to send me an email? It's a long- > > running simulation and I'd like to know when it finishes. > > > I'm on OS X so I suppose I could write an Applescript to cause > > Mail.app to do the job, then execute the Applescript as a command line > > within the Ada program, but is there an easier or more direct way? > > One solution is to use AWS's SMTP API. > > Pascal. > Thanks. That looks pretty cool. And I notice from the docs that you have more than a passing familiarity with AWS, as well as one John Doe. 8^) Jerry