Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to send SMTP e-mail from SQL query

Status
Not open for further replies.

gandalf33

Programmer
Sep 9, 2005
3
SK
Greetings,

I'm using Sybase ASA 7.0.4; I know about the xp_startmail(), xp_sendmail() and xp_stopmail() procedures, but as I am aware, they are using MAPI; I want to send a SMTP e-mail.

I am creating a simple EVENT that checks if the disk space is below 10% and if yes, it e-mails the admin.

I need the help of anyone very much.

Milan
 
I've managed to use the xp_startsmtp, xp_sendmail and xp_stopsmtp functions properly to send an e-mail from SQL query.

The problem is, it's in ASA 9 only. ASA 7 does not support xp_startsmtp and xp_stopsmtp...

If you know at least some sort of solution, please reply to this thread. Thank you very much.

Milan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top