Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Send a Automated Email

Hi ,

I am Using QlikView 10 . I have a application used to send a alert mail (I am using Macro to send alerts) when the application is reloaded .

The Problem here is when I am reloading the application manually I can send the alert mail . But when I reload the application using Batch File I am unable to send a mail .

But the Problem is After reloading, application and batch file is kept open .(If reloaded with batch file, batch file and application get close automatically ). Is there any command that forcely closes the batch file after reload .

Request your help on the above .

Regards

Naidu

5 Replies
erichshiino
Partner - Master
Partner - Master

Naidu,

You can config the server to send you an email whenever there is a reload error.

Not applicable
Author

Hi ,

I am Using QlikView 10 . I have a application used to send a alert mail (I am using Macro to send alerts) when the application is reloaded .

The Problem here is when I am reloading the application manually I can send the alert mail . But when I reload the application using Batch File I am unable to send a mail .

Request your help on the above .

Regards

Naidu

suniljain
Master
Master

can i know on which event you fire alert mail.

gandalfgray
Specialist II
Specialist II

Hi Talluru

use the /l switch in the batch file to start the qvw

In your qvw add an OnPostReload trigger which calls a macro that sends the mail

and finishes with:

ActiveDocument.Save (if you want to save of course ...)

Application.Quit (this is necessary or your application will be living untill you "kill" it)

hth/gg

Miguel_Angel_Baeyens

Hello Naidu,

In a Server-Client environment, there are some macros that will not run as default. One of those triggers are OnOpen and OnPostReload. It's documented in the Reference Manual, 29.3 "Trigger Limitations".

Regards.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica