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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looping Module to EMail Attachment Based on Path

Status
Not open for further replies.

Fiat77

Programmer
Feb 4, 2005
63
0
0
US
I have a table in Access named Tbl_Persons. This table has 4 fields
Code
EMail_Address
Person
Path

When I click a button I want the module to do the following.
Send an E-Mail to each email address with an attachment based on the path and place in the subject the Field Person Value plus the words Report

Example Records in Tbl_Person
I have 1 for code, jdoe@acme.com for EMail_Address, John Doe as Person, C:\MyWordReport.doc as Path

I need the code to email to jdoe@acme.com the attachment C:\MyWordReport.doc and in the subject say John Doe Report

THEN go the next record and do the same until all the records are complete.

How can i do this? Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top