Looking 99% percent positive its our security systems. My simple question started an avalanche of complaints against IT (whoops) - need to find the time to see if i can a. circumvent outook or b. convince IT to reverse their crazy decision.
because we are using 365 i am now trying to circumvent their security settings aorund outlook by using CDO. not hopeful at present.
looks more and more like its my IT security not enabled automation in outlook in windows 10 even though they allowed it in windows 7
copied code to new module. changed the end olmail to end with as was giving me syntax error
fails at same point - .send
really starting to wonder if our security settings in 365 are preventing .send
ok - still getting the crash out at the .send stage.
here is the current code
Const olMailItem = 0
Public Sub SendMailboxHTMLMessage(DisplayMsg As Boolean, WhoTo As String, WhoCC As String, Mailbox As String, TheSubject As String, TheBody, Optional AttachmentPath)
Dim objOutlook As Object...
just did - reckon i have implemented it wrongly....
Public Sub SendMailboxHTMLMessage(DisplayMsg As Boolean, WhoTo As String, WhoCC As String, Mailbox As String, TheSubject As String, TheBody, Optional AttachmentPath)
Dim objOutlook As Object 'Outlook.Application
Dim objOutlookMsg As Object '...