Skip to content

MessageSend() does not honor Mandrill template defaults #64

Description

@michaelmuenzer

When I create a new message where I leave out the fields Subject, FromEmail, FromName, the values which I have set in Mandrill (https://mandrillapp.com/templates) are ignored.

Go snippet:
message := gochimp.Message{ Html: renderedTemplate, To: recipients, TrackClicks: true, TrackOpens: true, }

Mandrill template configuration:
screen shot 2018-08-07 at 16 18 40

My assumption is that gochimp is still sending an empty string via the Mandrill API. Omitting the field when it is not set might honor the predefined values in Mandrill.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions