I am adding a routine to send an email automatically to alert someone that something has been entered into the database. How can I automatically get the names of the email to: into the body of the email so that when they send it...nobody has to enter the name..
I would like my email to be triggered automatically. The outlook form comes up with the names and the subject ok...But I want this to go out automatically.
I have used the SendObject in the past, but I am using the Outlook references. Again, how do you invoke the email to be sent automatically.
OK .Send does what I want...one more hurdle to cover...
I am getting the following message in a small window in
Outlook...
A program is trying to access your Address Book
A program is trying to access your Address Book or Contacts. Viruses can spread by sending copies of e-mail messages to people listed in your Address Book. You must allow or deny access to your Address Book before this program can continue.
Allow access
Do one or both of the following:
To allow the program access for this instance only (such as for one contact), click Yes.
To allow unsecured access for a specified time period of up to 10 minutes, select the Allow Access for check box, and then click a time period in the list.
Deny access
Click No.
How can I bypass this...or do I need to sendkeys or something like that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.