How can I accomplish this?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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 = "(e-mail address removed)"
objMsg.Send
 
Back
Top