comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
To: Jerry <lanceboyle@qwest.net>
Subject: Re: How to have Ada program send an email
Date: Sat, 18 Dec 2010 00:30:30 +0100
Date: 2010-12-18T00:30:30+01:00	[thread overview]
Message-ID: <4D0BF296.7030604@obry.net> (raw)
In-Reply-To: <4f832504-a6df-4912-91df-de932e60ff54@n2g2000pre.googlegroups.com>

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




  reply	other threads:[~2010-12-17 23:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 23:23 How to have Ada program send an email Jerry
2010-12-17 23:30 ` Pascal Obry [this message]
2010-12-17 23:46   ` Jerry
2010-12-18 19:06 ` Martin
2010-12-18 20:25   ` Simon Wright
2010-12-18 23:23     ` Pascal Obry
2010-12-19  0:02       ` Ludovic Brenta
2010-12-19  9:36         ` Pascal Obry
2010-12-19  9:12       ` Martin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox