I have searched and read many websites already and I am just not clear if it is possible to turn off the "annoying" security warning message from Outlook.
All I want to do is send a simple e-mail with a message.
From this code, can anyone help?
[vba]
Sub EMail_Test()
Dim OutApp As Object, OutMail As Object
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(0)
On Error Resume Next
With OutMail
.To = "Philip.Collins@pfizer.com"
.Subject = "The US20 SKU File has been updated"
.Body = "Completed File Scrub"
.Display
End With
On Error GoTo 0
Set OutMail = Nothing
Set OutApp = Nothing
End Sub
[/vba]