W
Wai Loon Ho
i have write a batch program to auto reply email to customer when they
apply something through my web application.
problem is when the program sending the email. a messagebox "A program
is trying to automatically send e-mail on your behalf.
Do you want to allow this?
If this is unexpected, it may be a virus and you should choose 'No'. "
and there is 3 option "Yes", "No" and "Help" for me to choose.
i hope the program can send the email without prompting me this message
becuase this is a batch program. it should send a batch of email when it
run according to the schdule it set.
below is my coding.
Set objOutlook = New Outlook.Application
Set objMsg = objOutlook.CreateItem(olMailItem)
'
With objMsg
.HTMLBody = True
.To = "" & RecipAddr
.Subject = "" & Subject
.Body = "" & Message
'
DoEvents
'
.Send
End With
'
Set objMsg = Nothing
Set objOutlook = Nothing
Please help.
thanx
apply something through my web application.
problem is when the program sending the email. a messagebox "A program
is trying to automatically send e-mail on your behalf.
Do you want to allow this?
If this is unexpected, it may be a virus and you should choose 'No'. "
and there is 3 option "Yes", "No" and "Help" for me to choose.
i hope the program can send the email without prompting me this message
becuase this is a batch program. it should send a batch of email when it
run according to the schdule it set.
below is my coding.
Set objOutlook = New Outlook.Application
Set objMsg = objOutlook.CreateItem(olMailItem)
'
With objMsg
.HTMLBody = True
.To = "" & RecipAddr
.Subject = "" & Subject
.Body = "" & Message
'
DoEvents
'
.Send
End With
'
Set objMsg = Nothing
Set objOutlook = Nothing
Please help.
thanx