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: a07f3367d7,d2e4aca2cc870be6 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <4D0BF296.7030604@obry.net> Date: Sat, 18 Dec 2010 00:30:30 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Jerry Subject: Re: How to have Ada program send an email References: <4f832504-a6df-4912-91df-de932e60ff54@n2g2000pre.googlegroups.com> In-Reply-To: <4f832504-a6df-4912-91df-de932e60ff54@n2g2000pre.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 18 Dec 2010 00:30:30 CET NNTP-Posting-Host: 90.2.10.197 X-Trace: 1292628630 reader.news.orange.fr 7718 90.2.10.197:14810 X-Complaints-To: abuse@orange.fr Path: g2news2.google.com!news4.google.com!feeder.news-service.com!novso.com!nerim.net!feed.ac-versailles.fr!proxad.net!feeder1-2.proxad.net!193.252.117.184.MISMATCH!feeder.news.orange.fr!not-for-mail Xref: g2news2.google.com comp.lang.ada:16988 Date: 2010-12-18T00:30:30+01:00 List-Id: 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. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net - http://v2p.fr.eu.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B