{"id":3670,"date":"2024-07-05T09:27:22","date_gmt":"2024-07-05T06:27:22","guid":{"rendered":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3670"},"modified":"2026-06-16T15:54:26","modified_gmt":"2026-06-16T12:54:26","slug":"email","status":"publish","type":"page","link":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3670","title":{"rendered":"Email"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email0.png\"><img decoding=\"async\" width=\"114\" height=\"92\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email0.png\" alt=\"\" class=\"wp-image-3671\"\/><\/a><\/figure>\n\n\n\n<p>The Email block is used for sending emails. It includes the following main components: <strong>Connector<\/strong>, <strong>Email field<\/strong>, <strong>Subject<\/strong> and <strong>Message text<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email1.png\"><img decoding=\"async\" width=\"268\" height=\"434\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email1.png\" alt=\"\" class=\"wp-image-3672\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email1.png 268w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email1-185x300.png 185w\" sizes=\"(max-width: 268px) 100vw, 268px\" \/><\/a><\/figure>\n\n\n\n<p>An <strong>SMTP connector<\/strong> is an aggregator through which emails are sent. The connector includes all necessary settings for connecting to mail servers.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email2.png\"><img decoding=\"async\" width=\"271\" height=\"94\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email2.png\" alt=\"\" class=\"wp-image-3673\"\/><\/a><\/figure>\n\n\n\n<p>The <strong>Email field<\/strong> contains the email addresses of recipients to whom the email will be sent. Email addresses can be specified directly:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email3.png\"><img decoding=\"async\" width=\"268\" height=\"236\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email3.png\" alt=\"\" class=\"wp-image-3674\"\/><\/a><\/figure>\n\n\n\n<p>And also through a variable:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email4.png\"><img decoding=\"async\" width=\"488\" height=\"283\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email4.png\" alt=\"\" class=\"wp-image-3675\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email4.png 488w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email4-300x174.png 300w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/><\/a><\/figure>\n\n\n\n<p>The <strong>Subject<\/strong> and <strong>Message text<\/strong> represent the content of the email being sent. The Subject indicates the topic of the email, while the Body contains the main message.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email5.png\"><img decoding=\"async\" width=\"280\" height=\"438\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email5.png\" alt=\"\" class=\"wp-image-3676\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email5.png 280w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/email5-192x300.png 192w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Usage example:<\/strong><\/p>\n\n\n\n<ol>\n<li>Configure the <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3263#smtp\">SMTP-connector<\/a> with all the necessary parameters for connecting to the mail server, then specify it in the <strong>Email<\/strong> block;<\/li>\n\n\n\n<li>Specify the recipient&#8217;s address in the <strong>Email field<\/strong> (or pass it through a &#171;Variable&#187;);<\/li>\n\n\n\n<li>Fill in the <strong>Subject<\/strong> and <strong>Text<\/strong> of the message;<\/li>\n\n\n\n<li>Send an email using the configured <strong>SMTP connector<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Email block is used for sending emails. It includes the following main components: Connector, Email field, Subject and Message text. An SMTP connector is an aggregator through which emails are sent. The connector includes all necessary settings for connecting to mail servers. The Email field contains the email addresses of recipients to whom the <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3670\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Email<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl\/scenario-personal.php","meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3670"}],"collection":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3670"}],"version-history":[{"count":5,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3670\/revisions"}],"predecessor-version":[{"id":4342,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3670\/revisions\/4342"}],"wp:attachment":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}