I found one strange problem, when I am doing sent email to my client in VBA,
VBA code at .send (see attach code) will come one dialog box to warn and ask me whether to continue to
send the message that might be virus" and then I manually press "yes to finish
the rest the VBA code. The Client doesn't recevie any email until
I re-open outlook software and quit it. THe client can receive the email right away. Why ?
and the other question, how to avoid the message warning dialog window, and I try
to set Application.DisplayAlerts = False but it is not working at all
Please advise for those two question and view my attach VBA code for email send
Set app = CreateObject("outlook.application")
Set itm = app.CreateItem(0)
Application.DisplayAlerts = False
.Subject = "dail report"
.To = "email@example.com"
.Body = "daily last report"
.Send """"""""""""""""""Warning dialog window will came out to ask me whether to continue ?
Set app = Nothing
Set itm = Nothing