Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Macros / May 2008

Tip: Looking for answers? Try searching our database.

Send Emails Automatically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DiveKennene - 01 May 2008 14:45 GMT
Hello,
I really need some help.  I have a database that I built in Access 2007 that
has some basic fields in it (i.e. name, address, email, date added to
database, etc.).  I plan on bundling the database with the Access 2007
Runtime to deploy it on my customers PC.  My customer wants the application
to automatically send out emails, with a predetermined message to recipients
from the EMAIL field in the CUSTOMERS table.  I have been able, using the
Visual Basic in Access, to generate the email using sendObject, however, I
can't figure out the "To" line without putting in the actual email address.  
How do I get the "To" line to pull up the email address from the CUSTOMERS
table.  Here is the code I have now:

DoCmd.SendObject _
   , _
   , _
   , _
   "ToJohn@doe.com", _
   , _
   , _
   "Subject", _
   "Message", _
   False

Thank you for any help.
Sim - 13 May 2008 20:21 GMT
> Hello,
> I really need some help.  I have a database that I built in Access 2007 that
[quoted text clipped - 20 lines]
>
> Thank you for any help.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.