PDF Delayed email - shortcut component

PDF Delayed email - shortcut component

It is possible to create an email, that is to be sent at a later time. This can e.g. be used, if you want to send an invoice to a customer at the end of the day, but you want to hold the email to make it possible to issue another email later (to replace the first one), if additional products are ordered (and invoiced) later in the day.

 

It is recommended to setup a unique cancel key prior to the execution of this workflow component.

To send out the delayed emails you need to run the Send emails from delay queue e.g. in a workflow with a scheduled start.

Related workflow components are:

  1. Cancel delayed email. This can be used, if you want to cancel a delayed email in the workflow
  2. Delayed email cancel key. This should be used for defining a unique cancel key for the specific email.
  3. Send emails from delay queue. This sends out all delayed emails for a delay queue, that has not been canceled.

Cancelling an e-mail - another way

An alternative to the Cancel delayed email component is to cancel an e-mail from the email log. To do that, you need log in as tenant admin and go to the email log. In the email log you can type in a cancel key on the upper right and then use the button "Remove all " to cancel all e-mails with the given cancel key.

 

To create a delayed email you can use the PDF Delayed e-mail shortcut component. It has these parameters:


  1. Template
    The template to merge with in order to create the PDF file, that is to be attached to the outgoing email.
  2. Attachment name
    The name of the attachment, that contains the merged PDF file.
  3. Email to
    The email address to send to. You can delimit multiple receivers with a comma.
  4. Email subject
    The subject (header) of the email.
  5. Mail template
    The mail template refers to a email template resource file (with extension .vm) placed in resources/Mail template.
    Inside the mail template file you can use workflow variables by preceding the name with a dollar sign e.g. $variable. The Mail template files can be uploaded via the library.
  6. Queue name
    The name of the delayed queue. You can later work with the queue and cancel email requests via the InterformNG2 settings.
  7. Email from
    The email address used as the sender.
  8. Email CC
    An optional CC (Carbon Copy) receiver.
  9. Email BCC
    An optional BCC (Blind Carbon Copy) receiver.
  10. Email reply to
    An optional email address, that is setup as the email address, that the receiver will reply to, if the receiver decides to reply.

Delayed e-mail without PDF

If you want to send a delayed e-mail without a PDF (e.g. just an html or incl. an xml-attachment), you can build up your workflow with the following components:
  1. "Render email HTML" to create the email message. 
  2. "Email details" to set subject etc.
  3. "Save e-mail on delay queue"