Recipients.Add method (Outlook)

Creates a new recipient in the Recipients collection.

Syntax

expression.Add (Name)

expression A variable that represents a Recipients object.

Parameters

Name Required/Optional Data type Description
Name Required String The name of the recipient; it can be a string representing the display name, the alias, or the full SMTP email address of the recipient.

Return value

A Recipient object that represents the new recipient.

Example

This VBA example creates a new mail message, uses the Add method to add 'Dan Wilson' as a To recipient, and displays the message. To run this example without errors, replace 'Dan Wilson' with a valid recipient name.

Sub CreateStatusReportToBoss() 

    Dim myItem As Outlook.MailItem 
    Dim myRecipient As Outlook.Recipient 

    Set myItem = Application.CreateItem(olMailItem) 
    Set myRecipient = myItem.Recipients.Add("Dan Wilson") 
    myItem.Subject = "Status Report" 
    myItem.Display 

End Sub

See also

Recipients Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.