Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MandrillSyncEventReject.Sender is not a string anymore #230

Open
BonnieSilentPartner opened this issue Mar 6, 2024 · 0 comments
Open

MandrillSyncEventReject.Sender is not a string anymore #230

BonnieSilentPartner opened this issue Mar 6, 2024 · 0 comments

Comments

@BonnieSilentPartner
Copy link

Something must have changed on Mandrill's end. The Sender property is now an object that I turned into this class to get our webhook to work:

public SenderReputationStats? Sender { get; set; }

public class SenderReputationStats
{
public int Sent { get; set; }
public int Hard_Bounces {get; set;}
public int Soft_Bounces {get; set;}
public int Rejects {get; set;}
public int Complaints {get; set;}
public int Unsubs {get; set;}
public int Opens {get; set;}
public int Clicks {get; set;}
public int Unique_opens {get; set;}
public int Unique_clicks {get; set;}
public int Reputation {get; set;}
public string Address { get; set; }

  [JsonConverter(typeof(IsoDateTimeConverter))]
  public DateTime Created_at { get; set; }

}

Thanks!
Bonnie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant