M
mike11d11
I am using this code to create an email to send automaticaly in my
program, the only problem is I get the security warning and I just
want the email to go out on its own without the warning. I heard this
can only be done by creating your own Com add-in but I really dont
know how to do that and am pretty new to the programming world. Any
help with my code below would be greatly appreciated, oh yeh I'm using
outlook 2003 pro.
Dim oOutL As New Microsoft.Office.Interop.Outlook.Application
Dim oMail As Microsoft.Office.Interop.Outlook.MailItem
oMail =
oOutL.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem)
oMail.UnRead = True
oMail.To = "(e-mail address removed)"
oMail.Subject = "There was an error..."
oMail.HTMLBody = True
oMail.Body = "The error was..."
'oMail.Attachments.Add("attachement.html")
oMail.Send()
program, the only problem is I get the security warning and I just
want the email to go out on its own without the warning. I heard this
can only be done by creating your own Com add-in but I really dont
know how to do that and am pretty new to the programming world. Any
help with my code below would be greatly appreciated, oh yeh I'm using
outlook 2003 pro.
Dim oOutL As New Microsoft.Office.Interop.Outlook.Application
Dim oMail As Microsoft.Office.Interop.Outlook.MailItem
oMail =
oOutL.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem)
oMail.UnRead = True
oMail.To = "(e-mail address removed)"
oMail.Subject = "There was an error..."
oMail.HTMLBody = True
oMail.Body = "The error was..."
'oMail.Attachments.Add("attachement.html")
oMail.Send()