How can I accomplish this?

J

Jess

Hi!

I am new to outlook programming and I quickly need to how figure out this:

Can anybody post an example to send an email with an attachment to the
contacts in address book?

Thanks in advance
 
S

Sue Mosher [MVP-Outlook]

Outlook version? To which contacts?

To send a message with VBA:

Set objMsg = Application.CreateItem(olMailItem)
objMsg.Attachments.Add "C:\some file.doc"
objMsg.Subject = "some file"
objMsg.To = "[email protected]"
objMsg.Send
 
Top