Action

Markdown Mail (w/ Mail Assistant)

Posted by agiletortoise, Last update almost 5 years ago

Example action demonstrating how to use Mail Assistant to send HTML/Markdown mail on Mac via URL scheme.

On iOS, a Mail action step is used to send mail.

On Mac, the Mail Assistant must be installed, and will be called via URL scheme to compose the email.

Steps

  • defineTemplateTag

    name
    htmlbody
    template
    %%[[body]]%%
  • mail (iOS only)

    toRecipients
    ccRecipients
    bccRecipients
    subjectTemplate
    [[title]]
    bodyTemplate
    [[htmlbody]]
    sendAsHTML
    true
    sendInBackground
    false
  • callbackUrl (macOS only)

    template
    mail-assistant://sendMail?subject=[[title]]&body=[[htmlbody]]&html=true
    waitForResponse
    true
    encodeTags
    true

Options

  • After Success Default
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.