dbTalk Databases Forums  

Sending email from UniVerse/AIX

comp.databases.pick comp.databases.pick


Discuss Sending email from UniVerse/AIX in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
luis torres
 
Posts: n/a

Default Sending email from UniVerse/AIX - 06-01-2005 , 08:26 PM






Hello all,
What is the simpliest process to send e-mail to internal and external users
from within an UniVerse application. Is there any documentation that
details the process of calling the Unix command to send out an e-mail?
Thanks for your advice.
Luis



Reply With Quote
  #2  
Old   
Simon Verona
 
Posts: n/a

Default Re: Sending email from UniVerse/AIX - 06-02-2005 , 01:07 AM






I'm no AIX nor Universe expert, but AIX does support sendmail. You don't
mention whether email is configured on your AIX box or not, but if it it is
then you might like to refer to
http://publib.boulder.ibm.com/infoce...5/sendmail.htm
which has details on how to use sendmail from the command line.

I believe this will send text email by writing it first to a unix file, and
the executing the sendmail command from within Universe (I'm not sure if
Universe has a special databasic command to run Unix commands or not)
redirecting the file you've written as input to sendmail --- eg
sendmail -options < myemail.txt

There are probably other solutions, depending on how your email is
configured.. There may be other pre-packaged solutions which just sit in
Universe as databasic code which you can call, but again I'm no expert.
This may just give you a couple of pointers until somebody else comes up
with a better suggestion!!

Hope this helps.

Regards
Simon
"luis torres" <luis.torres1 (AT) worldnet (DOT) att.net> wrote

Quote:
Hello all,
What is the simpliest process to send e-mail to internal and external
users
from within an UniVerse application. Is there any documentation that
details the process of calling the Unix command to send out an e-mail?
Thanks for your advice.
Luis





Reply With Quote
  #3  
Old   
Simon
 
Posts: n/a

Default Re: Sending email from UniVerse/AIX - 06-02-2005 , 05:11 PM





luis torres wrote:
Quote:
Hello all,
What is the simpliest process to send e-mail to internal and external users
from within an UniVerse application. Is there any documentation that
details the process of calling the Unix command to send out an e-mail?
Thanks for your advice.
Luis
Hi Luis,
have a look at http://www.blat.net/
may help, may not.



Reply With Quote
  #4  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: Sending email from UniVerse/AIX - 06-03-2005 , 02:30 AM



"Simon" <simon.adams (AT) salmat (DOT) com.au> wrote:

Quote:
luis torres wrote:
Hello all,
What is the simpliest process to send e-mail to internal and external users
from within an UniVerse application. Is there any documentation that
details the process of calling the Unix command to send out an e-mail?
Thanks for your advice.
Luis

Hi Luis,
have a look at http://www.blat.net/
may help, may not.
Blat won't help for AIX.

[ad follows]
Take a look at NebulaMail:
http:// removethisNebula-RnD.com/products/mail.htm
(I really need to update that page it's not 100% accurate anymore.)

NebulaMail is $249 per server, sends AND receives mail as text or
HTML, sends multiple attachments and properly handles BCC and other
expected functions. It runs over D3, mvBASE, and Unidata. I have not
ported this to Universe yet but I can given some time and motivation.

Here's what sets NebulaMail apart from home grown solutions involving
sendmail, blat, AccuTerm, etc:

- It has a consistent cross-platform API. You don't need to study the
nuances of Mail Transport Agents or SMTP/POP3 protocols. You can use
the same app code for your clients over both Windows and *nix.

- It's fully supported and comes with a Lot of functional examples.
First time installation assistance is provided free for VARs. Fixes
and some enhancements are free. There is no support agreement. The
software runs so well and unattended that I don't get support calls
for it.

- It handles errors elegantly, and I really need to emphasize this:
In every custom mail effort I've seen, I rarely see any real error
handling. What happens if your mail server is down or there is
something wrong with the format of the mail addresses? In most cases
the application either ignores errors, or simply doesn't know that
errors have occurred. Custom solutions rarely diagnose the error and
report back to the user exactly what has happened. NebulaMail will
report back exactly what failed and maintains logs for investigation.
In one site, when mail fails to go to a customer for any reason, one
or two sysadmins are mailed to inform them of the incident - a
separate mail server can be used to send these admin notices. If that
fails the app can take other actions.

Anyway, considering the nominal cost I tend to give NebulaMail to
sites that use our consulting services, but for those who buy it, the
benefits are almost immediate just for the headaches it saves.

Thanks for your time.
Tony
TG@ removethisNebula-RnD
..com


Reply With Quote
  #5  
Old   
Ken
 
Posts: n/a

Default Re: Sending email from UniVerse/AIX - 06-30-2005 , 07:53 PM



luis torres wrote:
Quote:
Hello all,
What is the simpliest process to send e-mail to internal and external users
from within an UniVerse application. Is there any documentation that
details the process of calling the Unix command to send out an e-mail?
Thanks for your advice.
Luis


We use Universe on HP and basically (pun intended) use a shell command
and elm (although you can use mail, but we had problems with it).

\SH -c 'echo "\:VARIABLE.WITH.EMAIL.TEXT:\"|elm -s
"\:VARIABLE.WITH.SUBJECT:\"
\:VARIABLE.SPACE.DELIMITED.WITH.EMAIL.ADDRESSES:\' \

There are other variations we use to send text files and attachments, etc.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.