cancel
Showing results for 
Search instead for 
Did you mean: 

HEY Experts

Former Member
0 Kudos

Please help with this query.

My query :- I want to send automatic email to those BP whose Invoice due date has come. If they have made the payment then message will not send.

Please help me.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

lucjan_chmura
Explorer
0 Kudos

Hello,

assuming your question really is "How to send an automatic email using SQL Anywhere (version## ) ?" here is some links:

- to have things happened "automatically" you can use database events which will fire on schedule :

DocCommentXchange

- you can have a trigger on a table etc..

- have a look at this post for an example

http://scn.sap.com/community/sql-anywhere/blog/2010/01/15/using-sql-anywhere-innsbruck-to-send-email... showing how to send an email.

But, basically you need to get yourself familiar with SQL Anywhere system procedures related to mail:

xp_startsmtp - DocCommentXchange

xp_sendmai - DocCommentXchange

xp_stopsmtp - DocCommentXchange

Hope it helps.

Lucjan

Answers (0)