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

Automating Multiple Email Send from Access

Status
Not open for further replies.

idbr

MIS
May 1, 2003
247
GB
Hi,

I have a need to email a list of people and attach a different file for each individual. e.g

John Smith gets File1.xls
Tom Jones gets File2.xls etc, etc...

The recipient's name and email address are held in an Access table, tblMailList, in fields 'Recipient' & 'Mail' respectively. The attachments are created by a seperate routine and named by appending the recipient name to a standard stem, e.g

Filename = Path & "File " & [Recipient] & ".xls"

I've simplified things a bit for clarity.

Basically I want to loop through tblMailList, creating a new mail item for each value of [Recipient], attaching 'Filename' and sending to [Mail]. I'll also need to add body text and subject lines which incorporate string variables.

I'm using A97 on NT4 with GW5.

I'm an intermediate VBA user, but a novice with Groupwise so any help would be greatly appreciated. Feel free to tell me if this should be an Access forum post.

Thanks, Iain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top