ActiveCampaign / postmark-dotnet

A .NET library for the Postmark API
http://developer.postmarkapp.com/
Other
50 stars 46 forks source link

Method not found: 'Void PostmarkDotNet.PostmarkMessageBase.set_TrackOpens(Boolean) #57

Open kfrancis opened 6 years ago

kfrancis commented 6 years ago

I just updated to the latest version 3.1.0 and now I'm seeing this error when attempting to send email. Not really sure why ...

atheken commented 6 years ago

Can you provide a little more context on how you're setting that value in your code? We made this property nullable quite some time ago. The error you're showing seems to imply it it's being called with a non-nullable overload of some kind. Are you using VB.Net or C#?

kfrancis commented 6 years ago

Using C#, like the following:

    var newMessage = new PostmarkMessage {
        // other property's being set
        TrackOpens = true
    };