Discussion:
Mail from within informix
(too old to reply)
Luis Carlos Díaz Otero
2013-08-16 16:35:14 UTC
Permalink
Hi all,

This may be a dumb question, but i don`t know the answer.
Which one is the method for sending mail directly from within the Informix Engine?.
Do we need something special, an additional software or so, besides the engine?

TIA 
 
Luis Carlos Díaz Otero
Art Kagel
2013-08-16 17:53:23 UTC
Permalink
You have a couple of choices:

1. Write a stored procedure that uses the SYSTEM verb to execute the
operating system's mail application (so mail, mailx, or sendmail depending).
2. Write your own Bladelet in C or Java to sent the mail.

The second option is the most flexible since you can get data from anywhere
to include in the email message. The first option is simplest.

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/

Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.


On Fri, Aug 16, 2013 at 12:35 PM, Luis Carlos Díaz Otero <
Post by Luis Carlos Díaz Otero
Hi all,
This may be a dumb question, but i don`t know the answer.
Which one is the method for sending mail directly from within the Informix
Engine?.
Do we need something special, an additional software or so, besides the
engine?
TIA
Luis Carlos Díaz Otero
_______________________________________________
Informix-list mailing list
http://www.iiug.org/mailman/listinfo/informix-list
Loading...