Action

Send to OmniFocus

Last update almost 4 years ago

Steps

  • script

    // See online documentation for examples
    // http://getdrafts.com/scripting
    
    let credential = Credential.create("OmniFocus MailDrop", "Please insert your OmniFocus MailDrop address.");
    
    credential.addTextField("mailDrop", "Mail Drop");
    
    credential.authorize();
    
    draft.setTemplateTag('mailDrop', credential.getValue("mailDrop"));
  • mail

    toRecipients
    [[mailDrop]],lamike.tujzk@sync.omnigroup.com
    ccRecipients
    bccRecipients
    subjectTemplate
    [[title]]
    bodyTemplate
    [[body]]
    sendAsHTML
    false
    sendInBackground
    true

Options

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