Mandrill Recipients

Every email needs a recipient and creating one is easy! You can add multiple recipients to an email.

Below we show you the three ways to create a Recipient.

Options

EmailAddress (Required)

This is the email address you want to send the email to.

EasyEmailForMandrill.Recipient recipient =
    new EasyEmailForMandrill.Recipient("email@test.com");
            

Display Name

You can use this to enter a customised name when the user sees their email, usually you might use the users real name.

EasyEmailForMandrill.Recipient recipient =
    new EasyEmailForMandrill.Recipient("email@test.com", "Tony Megana");
                 

ThirdPartyReference

When an email is sent, Easy Email For Mandrill will return the third party reference and the Mandrill email ID. This can then be used to track your emails to certain users / customers.

Commonly you would use the customers ID in this field but you can use anything you like.

EasyEmailForMandrill.Recipient recipient =
    new EasyEmailForMandrill.Recipient("email@test.com", "Tony Megana", "14298");