A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Automate email send to multiple people with different attachments



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 30th 06, 05:48 AM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 3
Default Automate email send to multiple people with different attachments

Hi,
I would like to send the same email message to 500 employees. I would like
to attach their personal and unique word doc, excel file or PDF file to the
email and I would to do this automatically. Does anyone know if this can be
done? And, how to do it?
Thank you
--
diane
Ads
  #2  
Old June 30th 06, 12:58 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Automate email send to multiple people with different attachments

It almost certainly can be done with third-party merge tools; see http://www.slipstick.com/addins/mail.htm#massmail

How it might be done practically as an Outlook programming project depends in part on your version of Outlook and how any such program would discover the "personal and unique" attachment for each recipient.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

" t.com wrote in message ...
Hi,
I would like to send the same email message to 500 employees. I would like
to attach their personal and unique word doc, excel file or PDF file to the
email and I would to do this automatically. Does anyone know if this can be
done? And, how to do it?
Thank you
--
diane

  #3  
Old June 30th 06, 03:57 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Automate email send to multiple people with different attachments

Yes, all this can be done. The code below gives you a starting point on how
to send multiple e-mails and attach files. You just need to figure out how
to relate certain files to certain recipient addresses. When working with
the file system, use the Microsoft Scripting Runtime library. This object
model will allow you to iterate through File objects in a Folder object given
a known folder path.

Sub SendMultipleEmails()
Dim objMail As Outlook.MailItem
Dim intX As Integer


For intX = 1 To 10 'Or get the value of intX from a file count
Set objMail = Application.CreateItem(olMailItem)
objMail.Subject = "My subject line"
objMail.Body = "My message body"
objMail.To = "
objMail.Attachments.Add "C:\temp\myfile.doc"
objMail.Send
Set objMail = Nothing
Next
End Sub

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


" wrote:

Hi,
I would like to send the same email message to 500 employees. I would like
to attach their personal and unique word doc, excel file or PDF file to the
email and I would to do this automatically. Does anyone know if this can be
done? And, how to do it?
Thank you
--
diane

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I move multiple vcf email attachments to Contacts? Mark Buckley Outlook - Using Contacts 2 June 27th 06 12:21 AM
One email message sent multiple times to people in distribution li mefirstmumsecond Outlook - Using Contacts 1 June 14th 06 03:17 PM
Send email to several people but include attachment to only one? TerryM Outlook - General Queries 1 May 8th 06 05:07 PM
How do i send a message to multiple people and not show others? Eric Outlook - Using Contacts 1 January 30th 06 10:20 PM
How to automate sending email with different attachments Xluser@work Outlook and VBA 3 January 25th 06 04:33 AM


All times are GMT +1. The time now is 09:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.