Bypassing Outlook Security Module when sending mail from VBA

mjh4ck3r

New Member
Joined
Jun 2, 2020
Messages
5
Office Version
  1. 2016
Platform
  1. Windows
Hi All,
I'm trying to send email from excel sheet, but before sending im getting a Outlook warning "A program is trying to access outlook email information..." with Allow, Deny and cancel button.
im thinking of fully automating it but then this warning keeps on poping up whenever i sent an email.

I tried sending keys with the below command but still the warning is coming up

Application.Wait (Now + TimeValue("0:00:03"))
Application.SendKeys "%s", True
Application.Wait (Now + TimeValue("0:00:05"))

Am i doing it right, or is there any other way of bypassing this warning
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
that can be linked to current antivirus status, if its out of date or not supported its a standard defence
 
Upvote 0
There is a free program that will by pass this which is called express click yes, here is a link to see if it will help. It will sit in your system tray.

 
Upvote 0
There is a free program that will by pass this which is called express click yes, here is a link to see if it will help. It will sit in your system tray.

Not possible in installing or downloading 3party software...:(
 
Upvote 0
Not possible in installing or downloading 3party software...:(
Microsoft security isn't third party, otherwise the antivirus has to be a recognised by microsoft. You can't get out of the anti spam blocking built in
 
Upvote 0

Forum statistics

Threads
1,214,912
Messages
6,122,200
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top