Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

E-Mailing from access 2

Status
Not open for further replies.

eatwork

Technical User
May 16, 2005
155
CA
I was wondering if anyone out there might know of how I can send out multiple emails via ms access forms through code. The situation is that I have a list of employees that need to be reminded of certain tasks based on certain days. On the day in question. I would like to send an email to that employee, and to myself to remind us of the task at hand. If anyone knows of how I can do that, or how to email from access in general, please put up a post. Thank you very much
 
Hi,

If you look at faq705-1634 that should point you in the right direction.

Hope this helps

HarleyQuinn
---------------------------------
Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Thank you HarelyQuinn for your reply. Your help is much appreciated. I will try this link out as it seems to be the article I'm looking for. Thanks
 
Hi HarelyQuinn, I tried that post, but it seems to give me an error with Dim myO As Outlook.Application. Is there a dll or something that I need to add to use that code? Another question I have is whether or not there is a way to send emails directly from access without having to use outlook or mailing program? Thank you.
 
You need to have a reference set to use "Microsoft Outlook x.x Object Library". To do so, when you have a vba window open, choose Tools, References, and then find the Outlook reference.

---------------------------------------
Bob Beck
Systems Administrator
 
I have figured out how to send multiple emails through access. I would be happy to email the code. However, I cannot disable the Object Model Guardian - that pesky box that comes up for each email sent requiring you to check "yes" to send. Does anyone know how to do this?
 
Thanks for your help goodfela26. I will give your suggestions a try.
 
Just to clarify, since I didn't in the second post...

My first post was in response to eatwork. My second post was in response to SWiebe.

I just want to eliminate any possibility for confusion.

---------------------------------------
Bob Beck
Systems Administrator
 
Hi SWiebe, Thank you for the offer. Would you be able post the code to help others? thanks.
 
You may also consider the DoCmd.SendObject method.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top