Hi All,
I am trying to send mail from MS Access and I am able to send mail also. But I am getting warning message like "A program is trying to automatically send e-mail on your behalf", any one knows how to by-pass this warning message?.
Last 2 days I am trying to solve this issue, dont know how to fix this...
Dim objOutlook As Outlook.Application
Dim objOutlookMsg As Outlook.MailItem
Dim objOutlookRecip As Outlook.Recipient
Dim objOutlookAttach As Outlook.Attachment
Set objOutlook = CreateObject("Outlook.Application")
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
objOutlookMsg.Body = "Test from applicaiton"
objOutlookMsg.To = test@test.com
objOutlookMsg.Send
Regards,
Selvakumar R