You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.
Thank's for reply.
Yes I can do everything. It's possible to create and send a campaing using mailchimp site.
This is the code I use to send using vb.net:
Imports MailChimp (using Nuget MailChimp.NET)
Public Shared Function AUTOMATIC_MAILCHIMP_SEND(ByVal _url As String, ByVal _oggetto As String, ByVal listId As String, ByVal _d As String) As String
Dim _esito As String
Dim apiKey As String = "XXXXXXXXX"
Dim mc As MailChimpManager = New MailChimpManager(apiKey)
Dim messaggio As New MailChimp.Campaigns.CampaignCreateContent
Dim _d2() As String
Dim _destinatari As New List(Of String)
_d2 = Split(_d, ";")
For _i = 0 To _d2.Count - 1
_destinatari.Add(_d2(_i))
Next
messaggio.Url = _url (the url where I saved newsletter.htm in the same server)
Dim options As New MailChimp.Campaigns.CampaignCreateOptions
With options
.ListId = listId
.Subject = _oggetto
.FromEmail = "[email protected]"
.FromName = "XXXXX"
End With
Dim campagna As New MailChimp.Campaigns.Campaign
campagna = mc.CreateCampaign("regular", options, messaggio)
Dim campagnaid As String = campagna.Id
Dim result As New MailChimp.Campaigns.CampaignActionResult
============================= ERROR HERE =============================
result = mc.SendCampaignTest(campagnaid, _destinatari)
Hi,
when I try to create a campaign, I receive this error:
Site hosted on smarterasp.net.
Please, Help me!
thank you for all kind of support!
The text was updated successfully, but these errors were encountered: