Hi,
I used to send emails from excel using outlook.
When I send emails it displays a security prompt to send or not send the message. It is okay when I send up to five messages. But at the time of 100 emails for each email I need to confirm the security prompt.
It will be helpful if I disable the security prompt or use the sendkeys yo automate the confirmation.
I made a google search and found the following code and I do not know how do I use in my code:
[pre]
[/pre]
or if I have to use senkeys please mention how and where I have to put it in my code.
Note: When all the emails sent it should display a message box".
Here is the code:
http://www.2shared.com/document/hkojcphW/emailcode.html
Please advise me.
Regards,
Vargeesh M
I used to send emails from excel using outlook.
When I send emails it displays a security prompt to send or not send the message. It is okay when I send up to five messages. But at the time of 100 emails for each email I need to confirm the security prompt.
It will be helpful if I disable the security prompt or use the sendkeys yo automate the confirmation.
I made a google search and found the following code and I do not know how do I use in my code:
[pre]
Code:
OlSecurityManager.DisableOOMWarnings = True
On Error Goto Finally
' ... any action with protected objects ...
Finally:
OlSecurityManager.DisableOOMWarnings = False
or if I have to use senkeys please mention how and where I have to put it in my code.
Note: When all the emails sent it should display a message box".
Here is the code:
http://www.2shared.com/document/hkojcphW/emailcode.html
Please advise me.
Regards,
Vargeesh M