Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email API PUT email body iconv exception #13571

Closed
1 task done
galvani opened this issue Mar 22, 2024 · 2 comments · Fixed by #13572
Closed
1 task done

Email API PUT email body iconv exception #13571

galvani opened this issue Mar 22, 2024 · 2 comments · Fixed by #13572
Labels
bug Issues or PR's relating to bugs
Milestone

Comments

@galvani
Copy link
Contributor

galvani commented Mar 22, 2024

Mautic Version

5.0.x series

Way of installing

I cloned the Mautic repo (not recommended or supported)

PHP version

8.1

What browsers are you seeing the problem on?

Not relevant

What happened?

When trying to create an email using API I do get iconv error due to

{
    "errors": [
        {
            "message": "PHP Notice - iconv(): Detected an illegal character in input string",
            "code": 500,
            "type": null
        }
    ],
    "trace": [
        {
            "namespace": "",
            "short_class": "",
            "class": "",
            "type": "",
            "function": "",
            "file": "\/var\/www\/html\/app\/bundles\/CoreBundle\/Helper\/InputHelper.php",
            "line": 420,
            "args": []
        },

This is caused by #12469
namely commit 957405e

How can we reproduce this issue?

Step 1:

Create an email

PUT {{host}}/api/emails/1/edit
Authorization: Bearer {{auth_token}}
Accept: application/json
Content-Type: application/json

{
    "isPublished": true,
    "dateAdded": "2023-05-08T09:27:12+00:00",
    "dateModified": "2023-05-08T09:27:12+00:00",
    "createdBy": 1,
    "createdByUser": "Jan Kozak",
    "modifiedBy": null,
    "modifiedByUser": null,
    "id": 1,
    "name": "Page Hit Email",
    "subject": "Page Hit Email",
    "language": "en",
    "category": null,
    "fromAddress": null,
    "fromName": null,
    "replyToAddress": null,
    "bccAddress": null,
    "useOwnerAsMailer": false,
    "utmTags": {
        "utmSource": null,
        "utmMedium": null,
        "utmCampaign": null,
        "utmContent": null
    },
    "customHtml": "<!DOCTYPE html><head>\r\n  <title> {subject} <\/title>\r\n  <!--[if !mso]><!-->\r\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n  <!--<![endif]-->\r\n  <meta http-equiv=\"Content-Type\" content=\"text\/html; charset=UTF-8\">\r\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\r\n  <style type=\"text\/css\">\r\n    #outlook a {\r\n      padding: 0;\r\n    }\r\n\r\n    body {\r\n      margin: 0;\r\n      padding: 0;\r\n      -webkit-text-size-adjust: 100%;\r\n      -ms-text-size-adjust: 100%;\r\n    }\r\n\r\n    table,\r\n    td {\r\n      border-collapse: collapse;\r\n      mso-table-lspace: 0pt;\r\n      mso-table-rspace: 0pt;\r\n    }\r\n\r\n    img {\r\n      border: 0;\r\n      height: auto;\r\n      line-height: 100%;\r\n      outline: none;\r\n      text-decoration: none;\r\n      -ms-interpolation-mode: bicubic;\r\n    }\r\n\r\n    p {\r\n      display: block;\r\n      margin: 13px 0;\r\n    }\r\n  <\/style>\r\n  <!--[if mso]>\r\n        <noscript>\r\n        <xml>\r\n        <o:OfficeDocumentSettings>\r\n          <o:AllowPNG\/>\r\n          <o:PixelsPerInch>96<\/o:PixelsPerInch>\r\n        <\/o:OfficeDocumentSettings>\r\n        <\/xml>\r\n        <\/noscript>\r\n        <![endif]-->\r\n  <!--[if lte mso 11]>\r\n        <style type=\"text\/css\">\r\n          .mj-outlook-group-fix { width:100% !important; }\r\n        <\/style>\r\n        <![endif]-->\r\n  <!--[if !mso]><!-->\r\n  <link href=\"https:\/\/fonts.googleapis.com\/css?family=Ubuntu:300,400,500,700\" rel=\"stylesheet\" type=\"text\/css\">\r\n  <style type=\"text\/css\">\r\n    @import url(https:\/\/fonts.googleapis.com\/css?family=Ubuntu:300,400,500,700);\r\n  <\/style>\r\n  <!--<![endif]-->\r\n  <style type=\"text\/css\">\r\n    @media only screen and (min-width:480px) {\r\n      .mj-column-per-100 {\r\n        width: 100% !important;\r\n        max-width: 100%;\r\n      }\r\n\r\n      .mj-column-per-60 {\r\n        width: 60% !important;\r\n        max-width: 60%;\r\n      }\r\n\r\n      .mj-column-per-40 {\r\n        width: 40% !important;\r\n        max-width: 40%;\r\n      }\r\n\r\n      .mj-column-per-50 {\r\n        width: 50% !important;\r\n        max-width: 50%;\r\n      }\r\n    }\r\n  <\/style>\r\n  <style media=\"screen and (min-width:480px)\">\r\n    .moz-text-html .mj-column-per-100 {\r\n      width: 100% !important;\r\n      max-width: 100%;\r\n    }\r\n\r\n    .moz-text-html .mj-column-per-60 {\r\n      width: 60% !important;\r\n      max-width: 60%;\r\n    }\r\n\r\n    .moz-text-html .mj-column-per-40 {\r\n      width: 40% !important;\r\n      max-width: 40%;\r\n    }\r\n\r\n    .moz-text-html .mj-column-per-50 {\r\n      width: 50% !important;\r\n      max-width: 50%;\r\n    }\r\n  <\/style>\r\n  <style type=\"text\/css\">\r\n    @media only screen and (max-width:480px) {\r\n      table.mj-full-width-mobile {\r\n        width: 100% !important;\r\n      }\r\n\r\n      td.mj-full-width-mobile {\r\n        width: auto !important;\r\n      }\r\n    }\r\n  <\/style>\r\n  <style type=\"text\/css\">\r\n  <\/style>\r\n  <!-- CSS-STYLE -->\r\n<\/head><body style=\"word-spacing:normal;background-color:#d6dde5;\">\r\n  <div style=\"display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;\"> Preview Text goes here <\/div>\r\n  <div style=\"background-color:#d6dde5;\">\r\n    <!-- LOGO HEADER -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"column-outlook\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix column\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:20px;word-break:break-word;\" align=\"center\">\r\n                        <table role=\"presentation\" style=\"border-collapse:collapse;border-spacing:0px;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td style=\"width:200px;\">\r\n                                <a href=\"#\" target=\"_blank\" title=\"Link to Company Website\">\r\n                                  <img alt=\"Link to Company Website\" src=\"http:\/\/localhost:8888\/themes\/brienz\/assets\/your-logo-purple.png?v53ab4359\" style=\"border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;\" title=\"Link to Company Website\" width=\"200\" height=\"auto\">\r\n                                <\/a>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION HEADER -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:20px;padding-top:5px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:middle;width:360px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-60 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:middle;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:5px;padding-bottom:5px;word-break:break-word;\" align=\"left\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:11px;line-height:1;text-align:left;color:#6d6d6d;\">\r\n                          <p style=\"margin: 0; padding: 0;\">{subject} <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><td class=\"\" style=\"vertical-align:middle;width:240px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-40 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:middle;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:5px;padding-bottom:5px;word-break:break-word;\" align=\"left\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:11px;line-height:1;text-align:left;color:#6d6d6d;\">\r\n                          <p style=\"margin: 0; padding: 0;\">\r\n                            <a style=\"color:#6d6d6d !important;\" href=\"{webview_url}\">View this mail in your browser<\/a>\r\n                          <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION HERO -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" role=\"presentation\" style=\"width:600px;\" width=\"600\" ><tr><td style=\"line-height:0;font-size:0;mso-line-height-rule:exactly;\"><v:image style=\"border:0;height:500px;mso-position-horizontal:center;position:absolute;top:0;width:600px;z-index:-3;\" src=\"http:\/\/localhost:8888\/themes\/brienz\/assets\/brienzlake.jpeg?v53ab4359\" xmlns:v=\"urn:schemas-microsoft-com:vml\" \/><![endif]-->\r\n    <div style=\"margin:0 auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n        <tbody>\r\n          <tr style=\"vertical-align:top;\">\r\n            <td style=\"background:#486AE2 url('http:\/\/localhost:8888\/themes\/brienz\/assets\/brienzlake.jpeg?v53ab4359') no-repeat center center \/ cover;background-position:center center;background-repeat:no-repeat;padding:0px;padding-top:80px;padding-bottom:80px;vertical-align:top;\" height=\"-160\" background=\"http:\/\/localhost:8888\/themes\/brienz\/assets\/brienzlake.jpeg?v53ab4359\">\r\n              <!--[if mso | IE]><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:600px;\" width=\"600\" ><tr><td style=\"\"><![endif]-->\r\n              <div class=\"mj-hero-content\" style=\"margin:0px auto;\">\r\n                <table role=\"presentation\" style=\"width:100%;margin:0px;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"\">\r\n                        <table role=\"presentation\" style=\"width:100%;margin:0px;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td style=\"font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:0px;word-break:break-word;\" align=\"center\">\r\n                                <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:24px;font-weight:500;line-height:1;text-align:center;color:#ffffff;\">\r\n                                  <p style=\"margin: 0; padding: 0;\">Check out our blog: <\/p>\r\n                                <\/div>\r\n                              <\/td>\r\n                            <\/tr>\r\n                            <tr>\r\n                              <td style=\"font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:0px;word-break:break-word;\" align=\"center\">\r\n                                <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:36px;font-weight:700;line-height:1;text-align:center;color:#ffffff;\">\r\n                                  <p style=\"margin: 0; padding: 0;\">We are half way there! <\/p>\r\n                                <\/div>\r\n                              <\/td>\r\n                            <\/tr>\r\n                            <tr>\r\n                              <td style=\"font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:0px;word-break:break-word;\" align=\"center\">\r\n                                <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:24px;font-weight:500;line-height:1;text-align:center;color:#ffffff;\">\r\n                                  <p style=\"margin: 0; padding: 0;\">See our progress! <\/p>\r\n                                <\/div>\r\n                              <\/td>\r\n                            <\/tr>\r\n                            <tr>\r\n                              <td style=\"font-size:0px;padding:10px 25px;padding-top:80px;padding-bottom:0px;word-break:break-word;\" align=\"center\">\r\n                                <table role=\"presentation\" style=\"border-collapse:separate;line-height:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                                  <tbody>\r\n                                    <tr>\r\n                                      <td role=\"presentation\" style=\"border:none;border-radius:3px;cursor:auto;mso-padding-alt:10px 25px;background:#9E094E;\" valign=\"middle\" bgcolor=\"#9E094E\" align=\"center\">\r\n                                        <a href=\"#\" style=\"display:inline-block;background:#9E094E;color:#FFFFFF;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:15px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:3px;\" target=\"_blank\"> MORE UPDATES <\/a>\r\n                                      <\/td>\r\n                                    <\/tr>\r\n                                  <\/tbody>\r\n                                <\/table>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION TEXT + BUTTON -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" bgcolor=\"#ffffff\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"background:#ffffff;background-color:#ffffff;width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:25px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-bottom:0px;word-break:break-word;\" align=\"left\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:20px;font-weight:500;line-height:1.5;text-align:left;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">This is an eyecatching headline <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;word-break:break-word;\" align=\"justify\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;font-weight:300;line-height:1.5;text-align:justify;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras id dui lectus. Vestibulum sed finibus lectus, sit amet suscipit nibh. Proin nec commodo purus. Sed eget nulla elit. Nulla aliquet mollis faucibus. <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;word-break:break-word;\" align=\"left\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;font-weight:300;line-height:1.5;text-align:left;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">Call us from monday to friday: <a title=\"phone\" href=\"tel:+41 600 00 00\">+41 600 00 00<\/a>\r\n                            <br> Or write a mail: <a title=\"mail\" href=\"mailto:info@company.com\">info@company.com<\/a>\r\n                          <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td vertical-align=\"middle\" style=\"font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:40px;word-break:break-word;\" align=\"center\">\r\n                        <table role=\"presentation\" style=\"border-collapse:separate;line-height:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td role=\"presentation\" style=\"border:none;border-radius:3px;cursor:auto;mso-padding-alt:10px 25px;background:#486AE2;\" valign=\"middle\" bgcolor=\"#486AE2\" align=\"center\">\r\n                                <a href=\"http:\/\/galvani.tech\" style=\"display:inline-block;background:#486AE2;color:#FFFFFF;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:3px;\" target=\"_blank\"> READ MORE <\/a>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION SPACER -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0px;padding-top:0px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;word-break:break-word;\">\r\n                        <div style=\"height:15px;line-height:15px;\"> <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION IMAGE + TEXT + BUTTON -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" bgcolor=\"#ffffff\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"background:#ffffff;background-color:#ffffff;width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:25px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:20px;word-break:break-word;\" align=\"center\">\r\n                        <table role=\"presentation\" style=\"border-collapse:collapse;border-spacing:0px;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td style=\"width:550px;\">\r\n                                <img alt=\"Lake of Brienz - Switzerland\" src=\"http:\/\/localhost:8888\/themes\/brienz\/assets\/brienz.jpeg?v53ab4359\" style=\"border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;\" width=\"550\" height=\"auto\">\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-bottom:0px;word-break:break-word;\" align=\"left\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:20px;font-weight:500;line-height:1.5;text-align:left;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">This is an eyecatching headline <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;word-break:break-word;\" align=\"justify\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;font-weight:300;line-height:1.5;text-align:justify;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras id dui lectus. Vestibulum sed finibus lectus, sit amet suscipit nibh. Proin nec commodo purus. Sed eget nulla elit. Nulla aliquet mollis faucibus. <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td vertical-align=\"middle\" style=\"font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:40px;word-break:break-word;\" align=\"center\">\r\n                        <table role=\"presentation\" style=\"border-collapse:separate;line-height:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td role=\"presentation\" style=\"border:none;border-radius:3px;cursor:auto;mso-padding-alt:10px 25px;background:#486AE2;\" valign=\"middle\" bgcolor=\"#486AE2\" align=\"center\">\r\n                                <a href=\"#\" style=\"display:inline-block;background:#486AE2;color:#FFFFFF;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:3px;\" target=\"_blank\"> READ MORE <\/a>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION SPACER -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0px;padding-top:0px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;word-break:break-word;\">\r\n                        <div style=\"height:15px;line-height:15px;\"> <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION 2-COLUMNS IMAGE + TEXT + BUTTON -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" bgcolor=\"#ffffff\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"background:#ffffff;background-color:#ffffff;width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0px;padding-top:25px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:300px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-50 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:0px;word-break:break-word;\" align=\"center\">\r\n                        <table role=\"presentation\" style=\"border-collapse:collapse;border-spacing:0px;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td style=\"width:250px;\">\r\n                                <img alt=\"At the Top Of The Rothorn\" src=\"http:\/\/localhost:8888\/themes\/brienz\/assets\/sign.jpeg?v53ab4359\" style=\"border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;\" width=\"250\" height=\"auto\">\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:20px;word-break:break-word;\" align=\"justify\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;font-weight:300;line-height:1.5;text-align:justify;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras id dui lectus. Vestibulum sed finibus lectus, sit amet suscipit nibh. Proin nec commodo purus. Sed eget nulla elit. Nulla aliquet mollis faucibus. <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td vertical-align=\"middle\" style=\"font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:40px;word-break:break-word;\" align=\"center\">\r\n                        <table role=\"presentation\" style=\"border-collapse:separate;line-height:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td role=\"presentation\" style=\"border:none;border-radius:3px;cursor:auto;mso-padding-alt:10px 25px;background:#486AE2;\" valign=\"middle\" bgcolor=\"#486AE2\" align=\"center\">\r\n                                <a href=\"#\" style=\"display:inline-block;background:#486AE2;color:#FFFFFF;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:3px;\" target=\"_blank\"> READ MORE <\/a>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><td class=\"\" style=\"vertical-align:top;width:300px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-50 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:0px;padding-bottom:0px;word-break:break-word;\" align=\"center\">\r\n                        <table role=\"presentation\" style=\"border-collapse:collapse;border-spacing:0px;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td style=\"width:250px;\">\r\n                                <img alt=\"Snow Covered Jungraujoch\" src=\"http:\/\/localhost:8888\/themes\/brienz\/assets\/jungfrau.jpeg?v53ab4359\" style=\"border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;\" width=\"250\" height=\"auto\">\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:20px;word-break:break-word;\" align=\"justify\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;font-weight:300;line-height:1.5;text-align:justify;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras id dui lectus. Vestibulum sed finibus lectus, sit amet suscipit nibh. Proin nec commodo purus. Sed eget nulla elit. Nulla aliquet mollis faucibus. <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td vertical-align=\"middle\" style=\"font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:40px;word-break:break-word;\" align=\"center\">\r\n                        <table role=\"presentation\" style=\"border-collapse:separate;line-height:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td role=\"presentation\" style=\"border:none;border-radius:3px;cursor:auto;mso-padding-alt:10px 25px;background:#486AE2;\" valign=\"middle\" bgcolor=\"#486AE2\" align=\"center\">\r\n                                <a href=\"#\" style=\"display:inline-block;background:#486AE2;color:#FFFFFF;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:3px;\" target=\"_blank\"> READ MORE <\/a>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION SPACER -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0px;padding-top:0px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;word-break:break-word;\">\r\n                        <div style=\"height:15px;line-height:15px;\"> <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION FOOTER -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" bgcolor=\"#ffffff\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"background:#ffffff;background-color:#ffffff;width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:25px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-bottom:0px;word-break:break-word;\" align=\"left\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:20px;font-weight:500;line-height:1.5;text-align:left;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">This is an eyecatching headline <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;word-break:break-word;\" align=\"justify\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;font-weight:300;line-height:1.5;text-align:justify;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras id dui lectus. Vestibulum sed finibus lectus, sit amet suscipit nibh. Proin nec commodo purus. Sed eget nulla elit. Nulla aliquet mollis faucibus. <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;word-break:break-word;\" align=\"left\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;font-weight:300;line-height:1.5;text-align:left;color:#000000;\">\r\n                          <p style=\"margin: 0; padding: 0;\">Call us from monday to friday: <a title=\"phone\" href=\"tel:+41 600 00 00\">+41 600 00 00<\/a>\r\n                            <br> Or write a mail: <a title=\"mail\" href=\"mailto:info@company.com\">info@company.com<\/a>\r\n                          <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                    <tr>\r\n                      <td vertical-align=\"middle\" style=\"font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:40px;word-break:break-word;\" align=\"center\">\r\n                        <table role=\"presentation\" style=\"border-collapse:separate;line-height:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td role=\"presentation\" style=\"border:none;border-radius:3px;cursor:auto;mso-padding-alt:10px 25px;background:#486AE2;\" valign=\"middle\" bgcolor=\"#486AE2\" align=\"center\">\r\n                                <a href=\"#\" style=\"display:inline-block;background:#486AE2;color:#FFFFFF;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:3px;\" target=\"_blank\"> READ MORE <\/a>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0px;padding-top:0px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;word-break:break-word;\">\r\n                        <div style=\"height:15px;line-height:15px;\"> <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" bgcolor=\"#486AE2\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"background:#486AE2;background-color:#486AE2;margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"background:#486AE2;background-color:#486AE2;width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0px;padding-top:20px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:20px;word-break:break-word;\" align=\"center\">\r\n                        <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" role=\"presentation\" ><tr><td><![endif]-->\r\n                        <table role=\"presentation\" style=\"float:none;display:inline-table;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td style=\"padding:4px;vertical-align:middle;\">\r\n                                <table role=\"presentation\" style=\"background:#3b5998;border-radius:3px;width:20px;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                                  <tbody>\r\n                                    <tr>\r\n                                      <td style=\"font-size:0;height:20px;vertical-align:middle;width:20px;\">\r\n                                        <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=[[SHORT_PERMALINK]]\" target=\"_blank\">\r\n                                          <img src=\"https:\/\/www.mailjet.com\/images\/theme\/v1\/icons\/ico-social\/facebook.png\" style=\"border-radius:3px;display:block;\" width=\"20\" height=\"20\">\r\n                                        <\/a>\r\n                                      <\/td>\r\n                                    <\/tr>\r\n                                  <\/tbody>\r\n                                <\/table>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                        <!--[if mso | IE]><\/td><td><![endif]-->\r\n                        <table role=\"presentation\" style=\"float:none;display:inline-table;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td style=\"padding:4px;vertical-align:middle;\">\r\n                                <table role=\"presentation\" style=\"background:#55acee;border-radius:3px;width:20px;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                                  <tbody>\r\n                                    <tr>\r\n                                      <td style=\"font-size:0;height:20px;vertical-align:middle;width:20px;\">\r\n                                        <a href=\"https:\/\/twitter.com\/intent\/tweet?url=[[SHORT_PERMALINK]]\" target=\"_blank\">\r\n                                          <img src=\"https:\/\/www.mailjet.com\/images\/theme\/v1\/icons\/ico-social\/twitter.png\" style=\"border-radius:3px;display:block;\" width=\"20\" height=\"20\">\r\n                                        <\/a>\r\n                                      <\/td>\r\n                                    <\/tr>\r\n                                  <\/tbody>\r\n                                <\/table>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                        <!--[if mso | IE]><\/td><td><![endif]-->\r\n                        <table role=\"presentation\" style=\"float:none;display:inline-table;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n                          <tbody>\r\n                            <tr>\r\n                              <td style=\"padding:4px;vertical-align:middle;\">\r\n                                <table role=\"presentation\" style=\"background:#dc4e41;border-radius:3px;width:20px;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                                  <tbody>\r\n                                    <tr>\r\n                                      <td style=\"font-size:0;height:20px;vertical-align:middle;width:20px;\">\r\n                                        <a href=\"https:\/\/plus.google.com\/share?url=[[SHORT_PERMALINK]]\" target=\"_blank\">\r\n                                          <img src=\"https:\/\/www.mailjet.com\/images\/theme\/v1\/icons\/ico-social\/google-plus.png\" style=\"border-radius:3px;display:block;\" width=\"20\" height=\"20\">\r\n                                        <\/a>\r\n                                      <\/td>\r\n                                    <\/tr>\r\n                                  <\/tbody>\r\n                                <\/table>\r\n                              <\/td>\r\n                            <\/tr>\r\n                          <\/tbody>\r\n                        <\/table>\r\n                        <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"\" role=\"presentation\" style=\"width:600px;\" width=\"600\" bgcolor=\"#486AE2\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div style=\"background:#486AE2;background-color:#486AE2;margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"background:#486AE2;background-color:#486AE2;width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:20px;padding-top:0;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:top;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:top;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:0px;padding-bottom:0px;word-break:break-word;\" align=\"center\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1.5;text-align:center;color:#ffffff;\">\r\n                          <p style=\"margin: 0; padding: 0;\">Amazing Company <br>11111 Beautiful City, 1212 Nice Street <br>Switzerland <br>\r\n                          <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n    <!-- SECTION POLICY -->\r\n    <!--[if mso | IE]><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"graylink-outlook\" role=\"presentation\" style=\"width:600px;\" width=\"600\" ><tr><td style=\"line-height:0px;font-size:0px;mso-line-height-rule:exactly;\"><![endif]-->\r\n    <div class=\"graylink\" style=\"margin:0px auto;max-width:600px;\">\r\n      <table role=\"presentation\" style=\"width:100%;\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\r\n        <tbody>\r\n          <tr>\r\n            <td style=\"direction:ltr;font-size:0px;padding:20px 0;padding-bottom:60px;padding-top:20px;text-align:center;\">\r\n              <!--[if mso | IE]><table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"\" style=\"vertical-align:middle;width:600px;\" ><![endif]-->\r\n              <div class=\"mj-column-per-100 mj-outlook-group-fix\" style=\"font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:100%;\">\r\n                <table role=\"presentation\" style=\"vertical-align:middle;\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n                  <tbody>\r\n                    <tr>\r\n                      <td style=\"font-size:0px;padding:10px 25px;padding-top:0px;padding-bottom:0px;word-break:break-word;\" align=\"center\">\r\n                        <div style=\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1.5;text-align:center;color:#6d6d6d;\">\r\n                          <p style=\"margin: 0; padding: 0; font-size: 11px;\">{unsubscribe_text} <\/p>\r\n                        <\/div>\r\n                      <\/td>\r\n                    <\/tr>\r\n                  <\/tbody>\r\n                <\/table>\r\n              <\/div>\r\n              <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n            <\/td>\r\n          <\/tr>\r\n        <\/tbody>\r\n      <\/table>\r\n    <\/div>\r\n    <!--[if mso | IE]><\/td><\/tr><\/table><![endif]-->\r\n  <\/div>\r\n\r\n\r\n<\/body>",
    "plainText": null,
    "template": "brienz",
    "emailType": "list",
    "publishUp": null,
    "publishDown": null,
    "publicPreview": true,
    "readCount": 2,
    "sentCount": 2,
    "revision": 1,
    "assetAttachments": [],
    "variantStartDate": null,
    "variantSentCount": 0,
    "variantReadCount": 0,
    "variantParent": null,
    "variantChildren": [],
    "translationParent": null,
    "translationChildren": [],
    "unsubscribeForm": null,
    "dynamicContent": [
        {
            "tokenName": "Dynamic Content 1",
            "content": "Default Dynamic Content",
            "filters": [
                {
                    "content": null,
                    "filters": []
                }
            ]
        }
    ],
    "lists": [1],
    "headers": []
}

Relevant log output

No response

Code of Conduct

  • I confirm that I have read and agree to follow this project's Code of Conduct




Care about this issue? Want to get it resolved sooner? If you are a member of Mautic, you can add some funds to the Bounties Project so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs here.

@galvani galvani added bug Issues or PR's relating to bugs needs-triage For new issues/PRs that need to be triaged labels Mar 22, 2024
@patrykgruszka
Copy link
Member

patrykgruszka commented Apr 16, 2024

This error is also triggered when the email builder is saved within the Mautic panel.

Steps to reproduce the issue:

  1. Load 5.x branch
  2. Enable GrapesJS in plugins (required due to issue The grapesjs builder is not loading 5.x branch [$100 bounty] #13510)
  3. Remove and rebuild the cache
rm -rf var/cache/*
ddev exec php bin/console c:c
  1. Create new template email
  2. Select Brienz template
  3. Open builder make changes and close the builder
  4. Save the email

Result:

 500 Internal Server Error - PHP Notice - iconv(): Detected an illegal character in input string 

Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If this issue is continuing with the lastest stable version of Mautic, please open a new issue that references this one.

@escopecz escopecz added this to the 5.1.0 milestone Apr 16, 2024
@escopecz escopecz removed the needs-triage For new issues/PRs that need to be triaged label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants