MailChimp (Mandrill) for .NET why email includes Image?

Jobert Enamno picture Jobert Enamno · Oct 20, 2013 · Viewed 7k times · Source

I'm using MailChimp for .NET from this nuget https://www.nuget.org/packages/mcapi.net/1.3.1.3 and tried sending emails. But the email I received include image (unseen image) even if I'm just sending simple html. Has anyone encountered it? How to get rid of this unseen image? Please help.

Below is my sample email message.

var api = new MandrillApi("XXXXXXXXXXX");
var recipients = new List<Mandrill.Messages.Recipient>();
var name = string.Format("{0} {1}", "Jobert", "Enamno");
recipients.Add(new Mandrill.Messages.Recipient("[email protected]", name));
var message = new Mandrill.Messages.Message()
{
   To = recipients.ToArray(),
   FromEmail = "[email protected]",
   Subject = "Test Email",
   Html = "<div>Test</div>"
};
MVList<Mandrill.Messages.SendResult> result;
result = api.Send(message);

Received Email enter image description here

When clicked No image shown

enter image description here

Answer

Kaitlin picture Kaitlin · Oct 21, 2013

You're seeing this because Mandrill uses a small invisible graphic for open tracking. You'd want to either disable open tracking in the API call you're making or on the Sending Options page in your Mandrill account.