-2

I wanna integrate Mailchimp into asp.net_core project.

I tried to use MailChimp.Net.V3 and MailChimp.Net.V3.Core package.

I couldn't install MailChimp.Net.V3 with one error(please check image below) and Couldn't handle tag with MailChimp.Net.V3.core package(Please check error msg below).

The project version of Microsoft.Extension.Http is 2.2.0.

How can I integrate MailChimp into my asp.net_core project?

Error image

Regards.

Eriawan Kusumawardhono
  • 4,796
  • 4
  • 46
  • 49
maple
  • 11
  • 2
  • Why are you trying to use both packages? Use the .NET Core one. – Ian Kemp Nov 11 '20 at 22:38
  • First I tried to use Mailchimp.Net.V3 but failed as you can see from image. So I've installed Mailchimp.Net.V3.Core package , it works fine but I can't handle tag as you can see from image. – maple Nov 12 '20 at 00:34

1 Answers1

1

The latest version of MailChimp(version 5.0.0) requires Microsoft.Extension.Http version >= 3.1.8.

You may upgrade your asp.net core version to 3.1 and above.

Or just install the MailChimp.Net.V3(version 4.2.1).

mj1313
  • 7,930
  • 2
  • 12
  • 32
  • Thanks @mj1313. It works for me. :) Btw Can you please let me know how to send email to specific users using this package? Ex : I wanna send mail to users who are tagged as "ABC". – maple Nov 13 '20 at 10:35