V
vikash
Hi,
In one of my current application, I am sending the mail by using the
Outlook API. The problem is that whenever it is trying to send the
mail, it gives me the security warning saying that "external program is
trying to send the mail". This is due the the security feature of
outlook. But I want to avoid this pop up.
Can any body help me how we can avoid the same??
To avoid the same, i was trying to simulate the click of YES button in
the pop up programatically. But even that does not work. I am using the
following lines of code for the same
SendMessage(btnYesPtr, WM_LBUTTONUP, 0, 0);
SendMessage(btnYesPtr, WM_LBUTTONUP, 0, 0);
SendMessage(btnYesPtr, BM_SETSTATE, 1, 0);
Can any body tell me what can the problem in the same.
Thanks in advance
Vikash
In one of my current application, I am sending the mail by using the
Outlook API. The problem is that whenever it is trying to send the
mail, it gives me the security warning saying that "external program is
trying to send the mail". This is due the the security feature of
outlook. But I want to avoid this pop up.
Can any body help me how we can avoid the same??
To avoid the same, i was trying to simulate the click of YES button in
the pop up programatically. But even that does not work. I am using the
following lines of code for the same
SendMessage(btnYesPtr, WM_LBUTTONUP, 0, 0);
SendMessage(btnYesPtr, WM_LBUTTONUP, 0, 0);
SendMessage(btnYesPtr, BM_SETSTATE, 1, 0);
Can any body tell me what can the problem in the same.
Thanks in advance
Vikash