D
DS
I have this code that sends an E-Mail from Access it works great.
I just need a few adjustments to complete it.
First...I get a messagedox to select a profile...is there any way to
supress this?
Second...I get another message that pops up and asks if you know that
this Email is going to be sent and do you want to send it? I need for
this also not to come up. Any help appreciated.
Thanks
DS
Private Sub CommandEmail_Click()
DoCmd.SendObject _
acSendReport, _
"rptDays", _
acFormatRTF, _
Forms!EMail!EmailAddress, _
, _
, _
"Subject", _
"Message", _
False
End Sub
I just need a few adjustments to complete it.
First...I get a messagedox to select a profile...is there any way to
supress this?
Second...I get another message that pops up and asks if you know that
this Email is going to be sent and do you want to send it? I need for
this also not to come up. Any help appreciated.
Thanks
DS
Private Sub CommandEmail_Click()
DoCmd.SendObject _
acSendReport, _
"rptDays", _
acFormatRTF, _
Forms!EMail!EmailAddress, _
, _
, _
"Subject", _
"Message", _
False
End Sub