{"id":107993,"date":"2021-06-21T18:07:04","date_gmt":"2021-06-21T09:07:04","guid":{"rendered":"https:\/\/support.questetra.com\/?p=107993"},"modified":"2023-08-10T16:12:29","modified_gmt":"2023-08-10T07:12:29","slug":"email-html-string-create-simplenotice-2021","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/email-html-string-create-simplenotice-2021\/","title":{"rendered":"#Email-HTML-String: Create SimpleNotice"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#003e04;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#267137;color:#ffffff;border-top-left-radius:0px;border-top-right-radius:0px\">Email-HTML String, Create SimpleNotice<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\"> Assembles HTML text for email from workflow data. The html text will consist of blocks of abstract, image, main sentence, link button, and sub-sentence. If the setting is blank, the block will not be displayed.<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1\" data-anchor=\"configs\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Configs<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<ul class=\"fa-ul\">\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> A1: Set Magazine Title (e.g. &#8220;SaaS News&#8221;)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> A2: Set Magazine Color (e.g. &#8220;#009900&#8221;)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> A3: Set Magazine Font (e.g. &#8220;Arial&#8221;)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> A4: Set Magazine Logo Url (eg <a href=\"https:\/\/example.com\/example.png\" rel=\"nofollow\">https:\/\/example.com\/example.png<\/a> )<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B1: Set Subject (eg. &#8220;Questetra v13 Automatic Start Enhanced&#8221;)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-edit fa-lg\"><\/i><\/span> B2: Set Abstract (Line breaks are automatically converted to br)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B3: Set Image Url (e.g. <a href=\"https:\/\/example.com\/example.png\" rel=\"nofollow\">https:\/\/example.com\/example.png<\/a> )<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B4: Set Section1 (e.g. &#8220;About New Feature&#8221;)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-edit fa-lg\"><\/i><\/span> B5: Set Paragraph1<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B6: Set LinkButton Text<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B7: Set LinkButton URL<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B8: Set Section2 (e.g. &#8220;About Questetra&#8221;)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-edit fa-lg\"><\/i><\/span> B9: Set Paragraph2<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> C1: Set Publisher Name (e.g. &#8220;Questetra, Inc.&#8221;)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> C2: Set Publisher Url (e.g.  <a href=\"https:\/\/example.com\/\" rel=\"nofollow\">https:\/\/example.com\/<\/a> )<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-edit fa-lg\"><\/i><\/span> C3: Set Publisher Statement<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li> D: Select STRING DATA that stores Email-HTML (update)<span style=\"color:#990000;\"> *<\/span><\/li>\n<\/ul>\n<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1 su-spoiler-closed\" data-anchor=\"script\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Script (click to open)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ GraalJS Script (engine type: 2)\n\n\/\/\/\/\/\/\/\/ START &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nmain();\nfunction main(){ \n\n\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nlet   strMagazineTitle     = configs.get( &quot;StrConfA1&quot; );          \/\/\/ REQUIRED\n      strMagazineTitle     = encodeHTML( strMagazineTitle );\n  if( strMagazineTitle   === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A1: MagazineTitle} is empty \\n&quot; );\n  }\nlet   strMagazineColor     = configs.get( &quot;StrConfA2&quot; ).replace(\/\\&quot;\/g, &quot;&quot;); \/\/ NotRequired\n  if( strMagazineColor   === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {A2: MagazineColor} is empty (default &#39;#009900&#39; applied)&quot; );\n    strMagazineColor = &quot;#009900&quot;;\n  }\nlet   strMagazineFont      = configs.get( &quot;StrConfA3&quot; ).replace(\/\\&quot;\/g, &quot;&#39;&quot;); \/\/ NotRequired\n  if( strMagazineFont    === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {A3: MagazineFont} is empty (default applied)&quot; );\n    strMagazineFont = &quot;Arial, -apple-system, Meiryo, Helvetica, sans-serif&quot;;\n  }\nconst strLogoUrl           = configs.get( &quot;StrConfA4&quot; );          \/\/ NotRequired\n  if( strLogoUrl         === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {A4: LogoUrl} is empty&quot; );\n  }\nlet   strSubject           = configs.get( &quot;StrConfB1&quot; );          \/\/\/ REQUIRED\n      strSubject           = encodeHTML( strSubject );\n  if( strSubject         === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {B1: Subject} is empty \\n&quot; );\n  }\nlet   strAbstract          = configs.get( &quot;StrConfB2&quot; );          \/\/ NotRequired\n  if( strAbstract        === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {B2: Abstract} is empty&quot; );\n  }else{\n      strAbstract          = encodeHTML( strAbstract ).replace(\/\\n\/g, &#39;&lt;br&gt;\\n&#39;);\n      strAbstract          = convertMultiSpaces( strAbstract );\n  }\nconst strImageUrl          = configs.get( &quot;StrConfB3&quot; );          \/\/ NotRequired\n  if( strImageUrl        === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {B3: ImageUrl} is empty&quot; );\n  }\nlet   strSection1          = configs.get( &quot;StrConfB4&quot; );          \/\/ NotRequired\n  if( strSection1        === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {B4: Section1} is empty&quot; );\n  }else{\n      strSection1          = encodeHTML( strSection1 );\n  }\nlet   strParagraph1        = configs.get( &quot;StrConfB5&quot; );          \/\/ NotRequired\n  if( strParagraph1      === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {B5: Paragraph1} is empty&quot; );\n  }else{\n      strParagraph1        = encodeHTML( strParagraph1 ).replace(\/\\n\/g, &#39;&lt;br&gt;\\n&#39;);\n      strParagraph1        = convertMultiSpaces( strParagraph1 );\n  }\nlet   strLinkButtonText    = configs.get( &quot;StrConfB6&quot; );          \/\/ NotRequired\n      strLinkButtonText    = encodeHTML( strLinkButtonText );\n  if( strLinkButtonText  === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {B6: LinkButtonText} is empty&quot; );\n  }\nconst strLinkButtonUrl     = configs.get( &quot;StrConfB7&quot; );          \/\/ NotRequired\n  if( strLinkButtonUrl   === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {B7: LinkButtonUrl} is empty&quot; );\n  }\nif( strLinkButtonText === &quot;&quot; && strLinkButtonUrl !== &quot;&quot; ){\n    strLinkButtonText      =    strLinkButtonUrl;\n}\nlet   strSection2          = configs.get( &quot;StrConfB8&quot; );          \/\/ NotRequired\n  if( strSection2        === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {B4: Section2} is empty&quot; );\n  }else{\n      strSection2          = encodeHTML( strSection2 );\n  }\nlet   strParagraph2        = configs.get( &quot;StrConfB9&quot; );          \/\/ NotRequired\n  if( strParagraph2      === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {B5: Paragraph2} is empty&quot; );\n  }else{\n      strParagraph2        = encodeHTML( strParagraph2 ).replace(\/\\n\/g, &#39;&lt;br&gt;\\n&#39;);\n      strParagraph2        = convertMultiSpaces( strParagraph2 );\n  }\nlet   strPublisherName     = configs.get( &quot;StrConfC1&quot; );          \/\/\/ REQUIRED\n      strPublisherName     = encodeHTML( strPublisherName );\n  if( strPublisherName   === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {C1: PublisherName} is empty \\n&quot; );\n  }\nconst strPublisherUrl      = configs.get( &quot;StrConfC2&quot; );          \/\/\/ REQUIRED\n  if( strPublisherUrl    === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {C2: PublisherUrl} is empty \\n&quot; );\n  }\nlet   strPublisherStatement   = configs.get( &quot;StrConfC3&quot; );         \/\/ NotRequired\n  if( strPublisherStatement === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning: &quot; +\n                &quot; {C3: PublisherStatement} is empty&quot; );\n  }else{\n      strPublisherStatement   = encodeHTML( strPublisherStatement ).replace(\/\\n\/g, &#39;&lt;br&gt;\\n&#39;);\n      strPublisherStatement   = convertMultiSpaces( strPublisherStatement );\n  }\nconst strPocketHtml           = configs.getObject( &quot;SelectConfD&quot; ); \/\/\/ REQUIRED\n\n\n\n\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (Nothing. Retrieved via Expression Language in Config Retrieving)\n\n\n\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\/\/ Build HTML String with Template_literals (ES6)\n\/\/ ${strMagazineTitle}\n\/\/ ${strMagazineColor}\n\/\/ ${strMagazineFont}\n\/\/ ${strLogoUrl}\n\/\/ ${strSubject}\n\/\/ ${strAbstract}\n\/\/ ${strImageUrl}\n\/\/ ${strSection1}\n\/\/ ${strParagraph1}\n\/\/ ${strLinkButtonText}\n\/\/ ${strLinkButtonUrl}\n\/\/ ${strSection2}\n\/\/ ${strParagraph2}\n\/\/ ${strPublisherName}\n\/\/ ${strPublisherUrl}\n\/\/ ${strPublisherStatement}\n\nlet strBlockHeader = `&lt;!DOCTYPE html PUBLIC &quot;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&quot;\n  &quot;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&quot;&gt;&lt;html&gt;&lt;head&gt;\n  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=UTF-8&quot;&gt;\n  &lt;meta http-equiv=&quot;Content-Style-Type&quot; content=&quot;text\/css&quot;&gt;\n  &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;\n  &lt;title&gt;${strMagazineTitle}&lt;\/title&gt;\n&lt;\/head&gt;&lt;body bgcolor=&quot;#ffffff&quot;\n  style=&quot;background-color:#ffffff; margin:0 auto; padding:0; width:100%; font-family:${strMagazineFont}&quot;&gt;\n\n&lt;table width=&quot;640&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; bgcolor=&quot;#ffffff&quot;\n  style=&quot;width:100%; max-width:640px; border:none; margin:0 auto; padding:0; background-color:#ffffff&quot;&gt;\n`;\n\nlet strBlockLogo = `&lt;tr&gt;&lt;td height=&quot;8&quot; style=&quot;height:0.5em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td width=&quot;100%&quot; style=&quot;width:100%; margin:0; padding:0&quot;&gt;\n  &lt;img src=&quot;${strLogoUrl}&quot; alt=&quot;Logo Image&quot; style=&quot;max-width:100%; height:auto&quot;&gt;\n&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td height=&quot;8&quot; style=&quot;height:0.5em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n`;\n\nlet strBlockSubject = `&lt;tr&gt;&lt;td height=&quot;8&quot; style=&quot;height:0.5em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td style=&quot;font-family:${strMagazineFont}&quot;&gt;\n  ${strMagazineTitle}\n&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td&gt;\n  &lt;h2 style=&quot;font-size:1.8em; color:${strMagazineColor}; font-family:${strMagazineFont}&quot;&gt;\n  ${strSubject}&lt;\/h2&gt;\n&lt;\/td&gt;&lt;\/tr&gt;\n`;\n\nlet strBlockAbstract = `&lt;tr&gt;&lt;td style=&quot;font-family:${strMagazineFont}&quot;&gt;\n  ${strAbstract}\n&lt;\/td&gt;&lt;\/tr&gt;\n`;\n\nlet strBlockImage = `&lt;tr&gt;&lt;td height=&quot;8&quot; style=&quot;height:0.5em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td\n  width=&quot;100%&quot; style=&quot;width:100%; margin:0; padding:0&quot;&gt;\n    &lt;table width=&quot;100%&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; bgcolor=&quot;#ffffff&quot;\n    style=&quot;width:100%; border:none; margin:0 auto; padding:0; background-color:#ffffff&quot;&gt;\n    &lt;tr&gt;&lt;td width=&quot;5%&quot;&gt;&lt;\/td&gt;\n        &lt;td width=&quot;90%&quot;&gt;\n          &lt;img src=&quot;${strImageUrl}&quot; alt=&quot;Featured Image&quot; style=&quot;max-width:100%&quot;&gt;\n        &lt;\/td&gt;\n        &lt;td width=&quot;5%&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n    &lt;\/table&gt;\n&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td height=&quot;8&quot; style=&quot;height:0.5em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n`;\n\nlet strBlockSection1 = `&lt;tr&gt;&lt;td height=&quot;8&quot; style=&quot;height:0.5em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td&gt;\n  &lt;h3 style=&quot;font-size:1.6em; font-family:${strMagazineFont}&quot;&gt;\n  ${strSection1}&lt;\/h3&gt;\n&lt;\/td&gt;&lt;\/tr&gt;\n`;\n\nlet strBlockParagraph1 = `&lt;tr&gt;&lt;td style=&quot;font-family:${strMagazineFont}&quot;&gt;\n  ${strParagraph1}\n&lt;\/td&gt;&lt;\/tr&gt;\n`;\n\nlet strBlockLinkButton = `&lt;tr&gt;&lt;td height=&quot;16&quot; style=&quot;height:1.0em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td\n  width=&quot;100%&quot; align=&quot;center&quot;\n  style=&quot;width:100%; margin:0px auto&quot;&gt;\n  &lt;a href=&quot;${strLinkButtonUrl}&quot;\n  style=&quot;display:inline-block; font-weight:bold; border-radius:8px; padding:10px 20px;\n  color:#ffffff; background:${strMagazineColor}; border:solid 4px ${strMagazineColor}&quot;&gt;\n  ${strLinkButtonText}&lt;\/a&gt;\n&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td height=&quot;16&quot; style=&quot;height:1.0em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n`;\n\nlet strBlockSection2 = `&lt;tr&gt;&lt;td height=&quot;8&quot; style=&quot;height:0.5em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td&gt;\n  &lt;h3 style=&quot;font-size:1.6em; font-family:${strMagazineFont}&quot;&gt;\n  ${strSection2}&lt;\/h3&gt;\n&lt;\/td&gt;&lt;\/tr&gt;\n`;\n\nlet strBlockParagraph2 = `&lt;tr&gt;&lt;td style=&quot;font-family:${strMagazineFont}&quot;&gt;\n  ${strParagraph2}\n&lt;\/td&gt;&lt;\/tr&gt;\n`;\n\nlet strBlockFooter = `&lt;tr&gt;&lt;td height=&quot;32&quot; style=&quot;height:2.0em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td height=&quot;24&quot; bgcolor=&quot;#eeeeee&quot; style=&quot;height:1.5em; background:#eeeeee&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td\n  width=&quot;100%&quot; align=&quot;center&quot; bgcolor=&quot;#eeeeee&quot;\n  style=&quot;width:100%; text-align:center; background:#eeeeee; font-size:.8em&quot;&gt;\n  &lt;a href=&quot;${strPublisherUrl}&quot;&gt;${strPublisherName}&lt;\/a&gt;\n&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td\n  width=&quot;100%&quot; align=&quot;center&quot; bgcolor=&quot;#eeeeee&quot;\n  style=&quot;width:100%; text-align:center; background:#eeeeee; font-size:.7em&quot;&gt;\n  ${strPublisherStatement}\n&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td height=&quot;24&quot; bgcolor=&quot;#eeeeee&quot; style=&quot;height:1.5em; background:#eeeeee&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n&lt;tr&gt;&lt;td height=&quot;24&quot; style=&quot;height:1.5em&quot;&gt;&lt;\/td&gt;&lt;\/tr&gt;\n\n&lt;\/table&gt;&lt;\/body&gt;&lt;\/html&gt;\n`;\n\nlet strHtml =  strBlockHeader;\n  if( strLogoUrl !== &quot;&quot; ){\n    strHtml += strBlockLogo;\n  }\n    strHtml += strBlockSubject;\n  if( strAbstract !== &quot;&quot; ){\n    strHtml += strBlockAbstract;\n  }\n  if( strImageUrl !== &quot;&quot; ){\n    strHtml += strBlockImage;\n  }\n  if( strSection1 !== &quot;&quot; ){\n    strHtml += strBlockSection1;\n  }\n  if( strParagraph1 !== &quot;&quot; ){\n    strHtml += strBlockParagraph1;\n  }\n  if( strLinkButtonUrl !== &quot;&quot; ){\n    strHtml += strBlockLinkButton;\n  }\n  if( strSection2 !== &quot;&quot; ){\n    strHtml += strBlockSection2;\n  }\n  if( strParagraph2 !== &quot;&quot; ){\n    strHtml += strBlockParagraph2;\n  }\n    strHtml += strBlockFooter;\n\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nengine.setData( strPocketHtml, strHtml );\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\nfunction encodeHTML( str ){\n  return str.replace(\/&\/g, &#39;&&#39;)\n            .replace(\/&lt;\/g, &#39;&lt;&#39;)\n            .replace(\/&gt;\/g, &#39;&gt;&#39;)\n            .replace(\/&quot;\/g, &#39;&quot;&#39;)\n            .replace(\/&#39;\/g, &#39;&#39;&#39;);\n}\n\n\/\/ convert multiple consecutive spaces to &quot;\u00a0 \u00a0 \u00a0 ..&quot;\nfunction convertMultiSpaces( strArg ){\n  let re = \/\\ {2,}\/g;\n\/\/  let re = \/s{2,}\/g;\n  let strReturn = strArg.replace( re, function( strMatch ){\n                    let strNbspSpRepeat = &quot;&quot;;\n                    for( let i = 0; i &lt; strMatch.length; i++ ){\n                      if( (i % 2) === 0 ){ \/\/ Even number\n                        strNbspSpRepeat += &quot;\u00a0&quot;;\n                      }else{ \/\/ Odd number\n                        strNbspSpRepeat += &quot; &quot;;\n                      }\n                    }\n                    return strNbspSpRepeat;\n                  });\n  return strReturn;\n}\n\n\n\/*\nNotes:\n- When a token reaches the automated step, the code for HTML mail is automatically generated.\n    - The generated code can be set in &quot;Message Sending Intermediate Event (Email)&quot; (v13.1) as it is.\n    - https:\/\/support.questetra.com\/bpmn-icons\/throwing-message-intermediate-event-email\/\n    - It is also effective to add a human step in downstream to add decorative tags such as strong and span.\n- Special characters in workflow data are escaped as appropriate.\n    - For example, &quot;&lt;&quot; is automatically converted to &quot;&lt;&quot;.\n    - Line feed codes in multi-line text are automatically converted to br tags.\n- Multiple spaces (two or more spaces) in workflow data are replaced with &quot;\u00a0&quot; every other character.\n    - eg &quot;A   B  C D&quot; to &quot;A\u00a0 \u00a0B\u00a0 C D&quot;\nAPPENDIX\n- The generated HTML code is not guaranteed to be displayed properly in all mailers.\n- The HTML code is built on the basis of 640px wide table tags.\n    - Basically, the background color is white and the text color is black.\n    - Subjects (titles) in the email body will be displayed in the color specified in MagazineColor.\n    - The link button in the email will be displayed in the color specified in MagazineColor.\n- MagazineLogo image is displayed in its original size.\n    - Image with a width greater than 640px will be scaled down.\n    - As a guide, the height should be between 20px and 50px.\n    - The URL of the MagazineLogo image must be accessible to the recipient.\nNotes-ja:\n- \u6848\u4ef6\u304c\u81ea\u52d5\u51e6\u7406\u5de5\u7a0b\u306b\u5230\u9054\u3057\u305f\u969b\u3001HTML\u30e1\u30fc\u30eb\u7528\u306e\u30b3\u30fc\u30c9\u304c\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002\n    - \u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306f\u3001\u305d\u306e\u307e\u307e\u300e\u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1\u4e2d\u9593\u30a4\u30d9\u30f3\u30c8\uff08\u30e1\u30fc\u30eb\uff09\u300f\uff08v13.1\uff09\u306b\u30bb\u30c3\u30c8\u3067\u304d\u307e\u3059\u3002\n    - https:\/\/support.questetra.com\/ja\/bpmn-icons\/throwing-message-intermediate-event-email\/\n    - \u4e0b\u6d41\u306b &quot;\u88c5\u98fe\u30bf\u30b0\u3092\u624b\u52d5\u8ffd\u52a0\u3059\u308b\u5de5\u7a0b&quot;\uff08strong \u3084 span \u306a\u3069\uff09\u3092\u914d\u7f6e\u3059\u308b\u306e\u3082\u52b9\u679c\u7684\u3067\u3059\u3002\n- \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u5185\u306e\u7279\u6b8a\u6587\u5b57\u306f\u3001\u9069\u5b9c\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u3055\u308c\u307e\u3059\u3002\n    - \u305f\u3068\u3048\u3070\u3001&quot;&lt;&quot; \u306f &quot;&lt;&quot; \u306b\u81ea\u52d5\u7684\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002\n    - \u8907\u6570\u884c\u30c6\u30ad\u30b9\u30c8\u5185\u306e\u6539\u884c\u30b3\u30fc\u30c9\u306f\u3001\u81ea\u52d5\u7684\u306b br \u30bf\u30b0\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002\n- \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u5185\u306e\u9023\u7d9a\u30b9\u30da\u30fc\u30b9\uff082\u6587\u5b57\u4ee5\u4e0a\uff09\u306f\u3001\u4e00\u6587\u5b57\u304a\u304d\u306b &quot;\u00a0&quot; \u306b\u7f6e\u63db\u3055\u308c\u307e\u3059\u3002\n    - eg &quot;A   B  C D&quot; to &quot;A\u00a0 \u00a0B\u00a0 C D&quot;\nAPPENDIX-ja\n- \u751f\u6210\u3055\u308c\u308bHTML \u30b3\u30fc\u30c9\u306f\u3001\u5168\u3066\u306e\u30e1\u30fc\u30e9\u3067\u6b63\u5e38\u306b\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u3066\u3044\u308b\u8a33\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\n- HTML \u30b3\u30fc\u30c9\u306f\u3001640px \u5e45\u306e table \u30bf\u30b0\u304c\u30d9\u30fc\u30b9\u3068\u306a\u3063\u3066\u7d44\u307f\u7acb\u3066\u3089\u308c\u307e\u3059\u3002\n    - \u80cc\u666f\u8272\u306f\u767d\u3001\u6587\u5b57\u8272\u306f\u9ed2\u304c\u57fa\u672c\u3068\u306a\u308a\u307e\u3059\u3002\n    - \u30e1\u30fc\u30eb\u5185\u306b\u518d\u63b2\u3055\u308c\u308b\u30b5\u30d6\u30b8\u30a7\u30af\u30c8\uff08\u30bf\u30a4\u30c8\u30eb\uff09\u306f\u3001MagazineColor \u3067\u6307\u5b9a\u3057\u305f\u8272\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002\n    - \u30e1\u30fc\u30eb\u5185\u306b\u8868\u793a\u3055\u308c\u308b\u30ea\u30f3\u30af\u30dc\u30bf\u30f3\u306f\u3001MagazineColor \u3067\u6307\u5b9a\u3057\u305f\u8272\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002\n- Magazine Logo \u753b\u50cf\u306f\u3001\u305d\u306e\u307e\u307e\u306e\u30b5\u30a4\u30ba\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002\n    - \u5e45\u304c 640px \u3092\u8d85\u3048\u308b\u753b\u50cf\u306f\u7e2e\u5c0f\u8868\u793a\u3055\u308c\u307e\u3059\u3002\n    - \u9ad8\u3055\u304c 20px \u304b\u3089 50px \u304c\u76ee\u5b89\u3068\u306a\u308a\u307e\u3059\u3002\n    - Magazine Logo \u753b\u50cf\u306e URL \u306f\u3001\u53d7\u4fe1\u8005\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308bURL\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n*\/\n\n\n<\/code><\/pre><\/div>\n\n\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image alignright\"><a href=\"#\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADkElEQVRYR8WXW0gUURjHf+MtK7to\nERF2AUUrNsmCEnzYLkJJlhBBJfWwFe66CFkbaA\/1nCAlIblG5kNh+xR0kS7kluCSFSRsmRU+ZFlk\nt7VytfIyMbNNu267O2ej2PM2M+f7n\/\/5zv\/7\/mckYjwk4fUbmILMViTWIpOLxCIg9Ve8B5kXSHQi\ncxuJi5gZEsHWJ9DEXH5QCViAZBFQ4BtgJ4lqTLyNFBOZgB0LEjXAVMGFg6d5kTmEBXu4+PAEGjgF\nlP3lwsFh9ZixhsIKTcBOMxI7\/9HiPhiZC1goCcb8k8C\/3bluJiYS8J15vcjONy3YRHJ8Mjf7bvJ1\n5KtIiJaJskBN+An41N4jIriSzBLq8utIjEuk8l4lp54ochEeXpLI1KrDT6CBE0CFCEyjsRFTtgkJ\nidbXrRS0FIiEBc6pxcwB5YWPgNJk4KNInWfNyOLyhstkz8xWQz3fPZS7ymnuaY6GhNInZinNykfA\nzi4kzokgHF5+mKMrj6rn7xO3jKPHQYnzD4FHhpPZjYXzWgYagT0iBK5uvMq6eesYk8dISUxRQ3oH\ne9lxawcd7zpEILQ5ZzGzV8vAQyRy9aIL5xfStKaJ55+fM\/B9gKKFRaoORsZHOO4+TtX9Kj0I\/3eZ\nTiys0DLwKcBYwoIoyt+3eB+1j2pxf3KrlZA6yedHnR86MV4xRlOSHsykaQRkPerTEqfRtrmNtOQ0\nNd1dni71OXe2L3GDI4PRl6QZSZiAdamV6tXVON84Kb5RrC5ak1fDfsN+EuIS1OeWly0UXS\/S24v\/\newAB3SNwrHewPWN7RPD+4X5Md0xce3VNhETAEdiJKMK8OXk4ChyMjY\/h6ndNADekGn4fw7g8zunu\n05S1C5hokAgjluGxVceoWFbBmadn1KYTOLSj0Ury2cAzttzYolaKzphQhhEbkavYRcb0jJDp1cSp\nidE76qXqXhV1XXVRNaKwrVgznu6BbvIv5YcEVTJ0MOegak6CYgxqxUpUCDNSOt6RFUcwzjPS\/rYd\n210bD94\/mEAifWo6pUtKseXYmJKg7AO1F5x8fBL7Ezt93r5QpIPMSJkSZMfubW4MaQaGRodQxBUn\nxakLOF87f7ufQk7xhqT4JIZHh1VfUEa8FM\/khMl8+fEFa7s12KjC2LESGcWFRE9hYb\/LhLmQaBEx\nvZJpJGJ6Kf0\/mYjyWu7PRAx\/TDQSMf01C5RyzH5O\/7rexAJ\/Av2AWTB+TSFiAAAAAElFTkSuQmCC\n\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-cloud-download-alt\"><\/i> Download<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/drive.google.com\/file\/d\/1yx8FfmxBZULfIW_aiBVCoWvYT3KilwHu\/view?usp=drivesdk\" target=\"_blank\">Email-Html-String-Create-SimpleNotice-2021.xml<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/1gHbu37wU5a7gXrG1vokUmNvGVPszJHZx\/view?usp=sharing\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/1gHbu37wU5a7gXrG1vokUmNvGVPszJHZx\/view?usp=sharing\">Email-Html-String-Create-SimpleNotice-2023.xml<\/a>\n<ul class=\"wp-block-list\">\n<li>2023-08-08 (C) Questetra, Inc. (MIT License)<\/li>\n\n\n\n<li>for &#8220;GraalJS standard (engine-type 3)&#8221; on v15.0 or above<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-right has-small-font-size wp-block-paragraph\">2021-06-20 (C) Questetra, Inc. (MIT License)<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/email-html-string-create-simplenotice-2021\/\">https:\/\/support.questetra.com\/addons\/email-html-string-create-simplenotice-2021\/<\/a><br><i class=\"fal fa-info-circle\"><\/i> The Addon-import feature is available with <span style=\"color:#4a86e8\" class=\"has-inline-color\"><strong>Professional<\/strong><\/span> edition.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dashed\" style=\"margin:30px 0;border-width:8px;border-color:#009900\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When a token reaches the automated step, the code for HTML mail is automatically generated.\n<ul class=\"wp-block-list\">\n<li>The generated code can be set in &#8220;Message Sending Intermediate Event (Email)&#8221; (v13.1) as it is.<\/li>\n\n\n\n<li><a href=\"https:\/\/support.questetra.com\/bpmn-icons\/throwing-message-intermediate-event-email\/\">https:\/\/support.questetra.com\/bpmn-icons\/throwing-message-intermediate-event-email\/<\/a><\/li>\n\n\n\n<li>It is also effective to add a human step in downstream to add decorative tags such as strong and span.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Special characters in workflow data are escaped as appropriate.\n<ul class=\"wp-block-list\">\n<li>For example, &#8220;&lt;&#8221; is automatically converted to &#8220;<code>&amp;lt;<\/code>&#8220;.<\/li>\n\n\n\n<li>Line feed codes in multi-line text are automatically converted to br tags.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Multiple spaces (two or more spaces) in workflow data are replaced with &#8220;<code>&amp;nbsp;<\/code>&#8221; every other character.\n<ul class=\"wp-block-list\">\n<li>eg &#8220;A&nbsp;&nbsp;&nbsp;B&nbsp;&nbsp;C D&#8221; to &#8220;<code>A&amp;nbsp;&nbsp;&amp;nbsp;B&amp;nbsp; C D<\/code>&#8220;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-capture-en.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"107996\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/email-html-string-create-simplenotice-2021\/attachment\/email-html-string-create-simplenotice-2021-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-capture-en.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"email-html-string-create-simplenotice-2021-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Assembles HTML text for email from workflow data. The html text will consist of blocks of abstract, image, main sentence, link button, and sub-sentence. If the setting is blank, the block will not be displayed.\" class=\"wp-image-107996\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-capture-en.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default q-box\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"899\" height=\"1251\" data-attachment-id=\"108000\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/email-html-string-create-simplenotice-2021\/attachment\/email-html-string-create-simplenotice-2021-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-config-en.png?fit=899%2C1251&amp;ssl=1\" data-orig-size=\"899,1251\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"email-html-string-create-simplenotice-2021-config-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-config-en.png?fit=453%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-config-en.png?resize=899%2C1251&#038;ssl=1\" alt=\"Assembles HTML text for email from workflow data. The html text will consist of blocks of abstract, image, main sentence, link button, and sub-sentence. If the setting is blank, the block will not be displayed.\" class=\"wp-image-108000\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-config-en.png?w=899&amp;ssl=1 899w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-config-en.png?resize=226%2C315&amp;ssl=1 226w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-config-en.png?resize=453%2C630&amp;ssl=1 453w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-config-en.png?resize=768%2C1069&amp;ssl=1 768w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-book\"><\/i> Appendix<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The generated HTML code is not guaranteed to be displayed properly in all mailers.<\/li>\n\n\n\n<li>The HTML code is built on the basis of 640px wide table tags.\n<ul class=\"wp-block-list\">\n<li>Basically, the background color is white and the text color is black.<\/li>\n\n\n\n<li>Subjects (titles) in the email body will be displayed in the color specified in MagazineColor.<\/li>\n\n\n\n<li>The link button in the email will be displayed in the color specified in MagazineColor.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>MagazineLogo image is displayed in its original size.\n<ul class=\"wp-block-list\">\n<li>Image with a width greater than 640px will be scaled down.<\/li>\n\n\n\n<li>As a guide, the height should be between 20px and 50px.<\/li>\n\n\n\n<li>The URL of the MagazineLogo image must be accessible to the recipient.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"mtlU9HQWGb\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/email-html-string-create-imagelist-2021\/\">#Email-HTML-String: Create ImageList<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;#Email-HTML-String: Create ImageList&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/email-html-string-create-imagelist-2021\/embed\/#?secret=dOmhDS5VPS#?secret=mtlU9HQWGb\" data-secret=\"mtlU9HQWGb\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Assembles HTML text for email from workflow data. The html text will consist of blocks of abstract, image, main sentence, link button, and sub-sentence. If the setting is blank, the block will not be displayed.<\/p>\n","protected":false},"author":2,"featured_media":107994,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"Assembles HTML text for email from workflow data. The html text will consist of blocks of abstract, image, main sentence, link button, and sub-sentence. If the setting is blank, the block will not be displayed.","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[168],"tags":[3178],"faq_section":[],"class_list":["post-107993","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-html-email"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":4,"uagb_excerpt":"Assembles HTML text for email from workflow data. The html text will consist of blocks of abstract, image, main sentence, link button, and sub-sentence. If the setting is blank, the block will not be displayed.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-s5P","jetpack-related-posts":[{"id":75824,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/throwing-message-intermediate-event-email\/","url_meta":{"origin":107993,"position":0},"title":"Throwing Message Intermediate Event (Email)","author":"Hirotaka NISHI","date":"2019-03-19","format":false,"excerpt":"Sends an email to the email address specified on To\/Cc\/Bcc. Also capable of embedding business data and attaching files.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-throwing-message-intermediate-event-email-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-throwing-message-intermediate-event-email-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-throwing-message-intermediate-event-email-1200x675.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-throwing-message-intermediate-event-email-1200x675.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-throwing-message-intermediate-event-email-1200x675.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":77405,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/throwing-message-intermediate-event-email-dynamic-content\/","url_meta":{"origin":107993,"position":1},"title":"Let\u2019s Send an Email Automatically in the Middle of a Workflow (Mail body chapter)","author":"Hirotaka NISHI","date":"2020-03-23","format":false,"excerpt":"Let's set in detail the contents of the email to be sent automatically by \"Throwing Message Intermediate Event (Email)\", using data embedding etc.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/featured-image-message-intermediate-event-email.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/featured-image-message-intermediate-event-email.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/featured-image-message-intermediate-event-email.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/featured-image-message-intermediate-event-email.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/featured-image-message-intermediate-event-email.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":83183,"url":"https:\/\/support.questetra.com\/en\/versions\/version-11130\/","url_meta":{"origin":107993,"position":2},"title":"v11.13 2020-01-20 Enhanced Automatic Setting Function for Business Data","author":"Hirotaka NISHI","date":"2020-01-06","format":false,"excerpt":"We will continue to support the modeling function the HTML5 version. In addition, for Google Drive, the specification method in the folder path is abolished.","rel":"","context":"In &quot;Version Info&quot;","block_context":{"text":"Version Info","link":"https:\/\/support.questetra.com\/en\/category\/versions\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/version-11130-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/version-11130-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/version-11130-fi-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/version-11130-fi-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/12\/version-11130-fi-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":79727,"url":"https:\/\/support.questetra.com\/en\/data-items\/string-type\/","url_meta":{"origin":107993,"position":3},"title":"String-Type","author":"Peter Glover","date":"2019-09-30","format":false,"excerpt":"Displays a text field that accepts any character type. Available in both a single line and multiple line format.","rel":"","context":"In &quot;Data Items&quot;","block_context":{"text":"Data Items","link":"https:\/\/support.questetra.com\/en\/category\/data-items\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/String.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/String.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/String.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/String.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/String.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":95602,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/description-html-v1220\/","url_meta":{"origin":107993,"position":4},"title":"How to Handle Errors in the Description Field of Data Items (Ver. 12.2)","author":"Hirotaka NISHI","date":"2020-10-05","format":false,"excerpt":"The new version, Ver. 12.2 will enhance setting checks of the Description field of Data Items. We will share how to handle errors","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/description-html-v1220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/description-html-v1220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/description-html-v1220-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/description-html-v1220-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/description-html-v1220-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":79693,"url":"https:\/\/support.questetra.com\/en\/versions\/version-11120\/","url_meta":{"origin":107993,"position":5},"title":"v11.12 2019-10-07 Set an Upper Limit on the Number of Options Displayed","author":"Hirotaka NISHI","date":"2019-09-24","format":false,"excerpt":"Release Overview Date Release Mon. Oct. 7th, 2019 Changes to be Noted When the sub-type of Select type is \"radio button\/select box\/check box\", an upper limit will be applied for the number of items displayed on the Task Operating screen (Displays up to 1000 items)In [Throwing Message Intermediate Event (HTTP)],\u2026","rel":"","context":"In &quot;Version Info&quot;","block_context":{"text":"Version Info","link":"https:\/\/support.questetra.com\/en\/category\/versions\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/version-11120-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/version-11120-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/version-11120-fi-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/version-11120-fi-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/version-11120-fi-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/email-html-string-create-simplenotice-2021-workflow-en.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/107993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=107993"}],"version-history":[{"count":8,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/107993\/revisions"}],"predecessor-version":[{"id":149393,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/107993\/revisions\/149393"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/107994"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=107993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=107993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=107993"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=107993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}