Hi
I am trying to put in some automated email responses to advise of changes within a database.
It seems to go fine, except each time it opens up an Outlook edit form waiting for the <Send> button to be clicked.
I want these emails to go quietly without advising the operator that they have gone but cannot get away from the Outlook bit opening up. Any thoughts?
My (anonymised) code is
Any help most appreciated, as always!
Thanks in adbvance and best wishes
I am trying to put in some automated email responses to advise of changes within a database.
It seems to go fine, except each time it opens up an Outlook edit form waiting for the <Send> button to be clicked.
I want these emails to go quietly without advising the operator that they have gone but cannot get away from the Outlook bit opening up. Any thoughts?
My (anonymised) code is
Code:
DoCmd.SendObject , , , "1@blurb.co.uk", , , "Database - Authorised staff password alteration ", "Dear David," & vbCrLf & "A successful attempt to change a member of staff's password has just been made in the MgmXxx database. The master password was entered correctly so the database record has been changedto reflect the new password." & vbCrLf & "The member of staff making the change was " & intStaff & " and they changed the password for " & intStaff1 & ". " & vbCrLf & "The new password is now effective." & vbCrLf & " " & vbCrLf & "Automated database administration"
Thanks in adbvance and best wishes