views:

30

answers:

1

I'm using VBScript and CDO to send emails from a custom form in Outlook. Basically:

Sub MySendButton_Click()
    Set objEmail = CreateObject("CDO.Message")
    objEmail.To = "[email protected]; [email protected]; [email protected]"
    objEmail.HTMLBody = "<b>hi!</b>"
    objEmail.Send()
End Sub

Is it possible to send an email to only "[email protected]" but show all three recipients in the To field on that person's copy? I need this functionality so that the end user can Reply To All, but the other recipients don't need to receive this particular email.

A: 

I think ReplyTo is what you need:

objEmail.To = "[email protected]"
objEmail.ReplyTo = "[email protected]; [email protected]; [email protected]"
Helen
It actually looks like `ReplyAll` is exactly what I was looking for. What is the correct syntax to invoke `ReplyAll`?
wes