PDA

View Full Version : Email distribution list members separately



mdmackillop
09-18-2007, 01:54 AM
For reasons of confidentiality, we have to send separate emails to each tenderer on a list (Maximum 6-8 recipients). I'd like to be able to use an distribution list, but I need to send to each, with no details of any of the other recipients. Can this be done without code, or do I need a bit of VBA?
Regards
MD

mvidas
09-18-2007, 06:18 AM
To parse the list I think you'd have to use VBA, but why not do something like

From: MD
To: MD
BCC: DistributionList

The recipients wouldn't know of each other, only see your name in the From and To, and you wouldn't have to use a macro or anything

mdmackillop
09-18-2007, 06:54 AM
Hi Matt,
The emails have to be addressed to each recipient, which I doesn't happen with BCC

mvidas
09-18-2007, 07:02 AM
I understand.. unless you want to do it manually, I don't think theres a way without using VBA

To see how it would be done, this writes an email to everyone in a list named "Cards":Sub MDMDistribute()
Dim DList As DistListItem, i As Long
Set DList = Application.Session.GetDefaultFolder(olFolderContacts).Items("Cards")
For i = 1 To DList.MemberCount
With Application.CreateItem(olMailItem)
.To = DList.GetMember(i)
.Subject = "September Mailing"
.Body = "Hi"
.Display
'.Send
End With
Next
End Sub

mdmackillop
09-18-2007, 11:05 AM
Thanks Matt,
I'll give it a try tomorrow.