Skip to content

IO.ClickSend.ClickSend.Model.Email: To property not set #10

Description

@JoLambrichts1977

Hi,

I think there's a bug when using the IO.ClickSend.ClickSend.Model.Email class.
e.g.

var email = new IO.ClickSend.ClickSend.Model.Email
{
 To = new List<EmailRecipient> { new EmailRecipient("acorrectmailaddress@mail.com", "myName")},
 //... code removed for brevity
 };

I get the error:
System.IO.InvalidDataException: 'to is a required property for Email and cannot be null'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions