send email without Outlook asking to allow?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to use SendObject to send an email to me when a user clicks
"Submit" on a particular form. The code below works, but the user gets a
pop-up from Microsoft Office Outlook: "A program is trying to automatically
send e-mail on your behalf. Do you want to allow this?". The user has to
click "Yes", "No" or "Help".

This would probably alarm the user or at the very least be considered an
annoyance. Is there any way to send an email without triggering the Outlook
pop-up?

Private Sub cmdSubmit_Click()
DoCmd.SendObject , , , "(e-mail address removed)", , , "A DSSF has been
submitted.", "Body goes here.", False
End Sub

Thank you for any help you can give me,
Judy
 
Daniel,

Thank you for responding. I was hoping for a solution that I could use that
would not involve having the users install anything or change any of their
settings (since they are going to get the pop-up when they click the submit
button, not me).

I know that we have a vb script that sends email without having an issue
with this pop-up. I guess I'll have to call the vb script instead.

Thanks again,
Judy
 
Back
Top