How to integrate the MailChimp in .net core for sending email. Please provide an example
Loading
How to integrate the MailChimp in .net core for sending email. Please provide an example
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaydeep PatilPosted Jun 29, 2024, 7:22 AM
Hi,
Please refer the below steps,
1. Install MailChimp.Net NuGet package.
dotnet add package MailChimp.Net
2. Configure Mail champ client
3. Register mail champ service in the startup
Note: you will get API key from mail champ website once you login.
4. Inject mail champ service in the controller and use
5. If you want to subscribe then use below code snipet.
Jaimin ShethiyaPosted Jun 28, 2024, 10:48 AM
Hello Sunny,
Please refer below links.
https://medium.com/@xavierpenya/mailchimp-using-dotnet-core-c-160cdb291f9a
https://www.codeindotnet.com/how-to-integrate-mailchimp-v3-0-api-in-dotnet-core-c/
Thanks
Sourabh DhimanPosted Jun 28, 2024, 10:13 AM
This is used mail kit , I want to with mailChimp
Rajeesh MenothPosted Jun 28, 2024, 10:08 AM
Hi,
Check this article reference:
https://www.c-sharpcorner.com/article/send-email-using-asp-net-core-1-1-with-mailkit-in-visual-studio-2017/