Skip to content

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

@JoLambrichts1977

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'

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