Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you want to send an email from Blueriq, for example a confirmation message after filling out a form, here is how to do that.

Step-by-step guide

Table of Contents
maxLevel3
minLevel3

Create the mail message

A mail message in Blueriq is represented by an asset. To create this in Blueriq Studio:

  • Create a new Asset;
  • Provide a name, for example ThankYouMail, and select the type Email in the general section;
  • You can now provide both the subject and the message body in the asset. You can use HTML and Text Substitution Language: TSL in the message.


Image RemovedImage Added

Create a service that sends the mail

With Blueriq you can use the Service call type: AQ_Mailservice to MailService to send an email. To create the service in Blueriq Studio:

  • Create a new Service call with Service call with servicetype type: AQ_MailService
  • Provide the to and from and optionally the cc or bcc parameters. You can use both string values or expressions, refer to the Service call type: AQ_Mailservice description MailService description for the complete description.
  • Provide the details of your SMTP host
  • Provide the mail-asset parameter, in this case the ThankYouMail asset you have just created.


Image RemovedImage Added

Add the mail service to your flow

Provided you have a page flow which displays your form, you can now add the mail service to that flow so the mail is sent after you complete the form.


Image RemovedImage Added

 


Run your application

You are now ready to run your application in the Blueriq Runtime.

 


UI Expand
titleRelated articles

Content by Label
showSpace
showLabelsfalse
max5
spacesBKB
showSpacefalse
sortmodified
falsereversetrue
typepage
labelscqllabel = "mail

 

...

" and type = "page" and space = "BKB"
labelsmail