Plain-text email

Can somene please explain how to send only plain-text emails. I don’t care about HTML emails. Is it possible? I just can’t send HTML emails to my potential clients, it doesn’t look personalized.

Thank you

Use Blank or the Responsive Blank Theme, it is not plain but minimal. Mautic doesn’t support plain-text only yet.

However, you can try or modify this PR to fix the issue: https://github.com/mautic/mautic/pull/7842/files

Edit: What doesn’t look personalize with the HTML email?

Hi, thanks for the reply. Let’s say I want to send emails to a bunch of small business owners to offer them Social media services. Do you think HTML or plain-text would be better?

I’ll prefer HTML, honestly, you just need to design your HTML nicely, and you are good to go. The Responsive Blank is quite good for simple and clean emails.

Thank you so much for the reply. The only thing that’s bothering me with html emails is when someone looks at it on desktop (on gmail for example, mobile is fine), the text part is in the middle, which is really bothering me. Wouldn’t it be better if its aligned all the way to the left below Sender name? Are people used to that or? Maybe I’m wrong

Can you show me example of good html template? In my case it would be just 3-5 sentences.Text only

Take a look at this screenshot.

I don’t quite understand “the text part is in the middle”. Do you like something like this:

I can turn that into a template for you real quick :wink: or go here https://reallygoodemails.com/ type simple in the search box, and choose whatever you want, send a link of the one you like, and I’ll try to adjust it to a mautic email theme.

Edit: or you can just copy the code into mautic code mode

Thank you for your help. I will send you two images now and you’ll see what I mean. I like any clean and simple temple, since I’m gonna use only text in it. Doesn’t make much difference to me.

Take a look below


You see that the text is right below Sender name and your profile image. Thats what I want if possible.

And one more to make it more clear

Do you think this would make any difference if some business owner reads my email? This way it looks like I sent him an email from gsuite and it looks more personal. I hope I make myself clear.

Email template you linked in your email looks nice.

Ha, I see what you mean now, well, you can mimic a plain text email. More on that below.

It wouldn’t make much difference, and, also, doing things the way you want means Gmail or others won’t mark your mail as promotional. This approach is good if you truly know you won’t be sending promotional stuff, anyways, let’s get to it…

Before I show you the methods, here is the final result:


I guess, that is what you want :wink:

Method 1:

Use the Code Mode, and use the following CODE:

<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlnsv="urn:schemas-microsoft-com:vml" xmlnso="urn:schemas-microsoft-com:office:office">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>{subject}</title>
    <style>
        img {max-width: 100%; height: auto;}
    </style>
</head>
<body>
<div>
        <p>Hi, Name</p>
</div>

<div>
        <p>Put ya body message here..</p>
        <p>You can also add a link the normal way:
            <a href="#">a link</a>
        </p>
</div>

<div >
    <a href="{webview_url}" style="-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-family:'Open Sans', sans-serif;font-size:12px;text-decoration:underline;color:#18475d">View in browser</a> |
    <a href="{unsubscribe_url}" style="-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-family:'Open Sans', sans-serif;font-size:12px;text-decoration:underline;color:#18475d">Unsubscribe</a>
    <br />
</div>
</body>
</html>

You can use it how you see fit, but don’t change the <title>{subject}</title> mautic would automatically grab that

Method 2
This is a mautic theme I just created out of the method one code, so, it is the same except that you can easily use it the way you would work with other themes in mautic. Here is a link to download the theme: Devsrealm » HTML (plain-text) Email Template For Mautic

I had to keep the zip file on my website to keep the link safe, anyways, download it in the second method.

Let me know how it goes, off for now.

2 Likes

Well, this is exactly what I wanted. Thank you so much for this. I spent couple of hours last few days trying to find solution for this, and here it is.

I tested it and works perfectly, exactly like the regular plain-text you send with gmail.

The emails I will be sending will be kinda promotional - promoting my services in just a couple of sentences and trying to get a meeting with the business owner, without any links or images, just a short intro and a question. What do you think about that?

Thank you so much for this once again, really good news for me this morning.

Just checking, when I create email on mautic for this I go to code editor and copy paste the code you sent me + I go to advanced part and generate plain text? Is that the right way? Does it mean that I will be sending two emails, HTML and plain text? I suppose that’s the way of differentiating myself from spammers by sending two emails and increasing my inbox rate?

Have a great weekend.
Tarik

Yh, you can generate the plain text, and no, you are not sending two emails, the plain-text version would be associated with the email. and yes, it is kinda good to use the the both version as some providers do check.

Gmail doesn’t have a way to view a plain-text version, but I think outlook does.

Here is an example of what I mean by “plain-text version would be associated with the email”, if you view the actual content of the email, you’ll see:

Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi, Name

Put ya body message here..

You can also add a link the normal way: a link
View in browser [https://mautic.example.com/email/preview/500] | =
Unsubscribe [https://mautic.example.com/email/unsubscribe/5fe739=
b86ecf9]

Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html xmlns=3D"http://www.w3.org/1999/xhtml" xmlnsv=3D"urn:schemas-microsof=
t-com:vml" xmlnso=3D"urn:schemas-microsoft-com:office:office">

<html xmlns=3D"http://www.w3.org/1999/xhtml">
<head>
    <meta name=3D"viewport" content=3D"width=3Ddevice-width" />
    <meta http-equiv=3D"X-UA-Compatible" content=3D"IE=3Dedge" />
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8=
" />
    <title>[TEST] Text HTML plain text</title>
    <style>
        img {max-width: 100%; height: auto;}
    </style>
</head>
<body>
<div data-slot-container=3D"1">
    <div data-slot=3D"text">
        <p>Hi, Name</p>
    </div>
</div>

<div data-slot-container=3D"1">
    <div data-slot=3D"text">
        <p>Put ya body message here..</p>
        <p>You can also add a link the normal way:
            <a href=3D"#">a link</a>
        </p>
    </div>
</div>

<div>
    <a href=3D"https://mautic.example.com/email/preview/21" styl=
e=3D"-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-heigh=
t-rule:exactly;font-family:'Open Sans', sans-serif;font-size:12px;text-deco=
ration:underline;color:#18475d">View in browser</a> |
    <a href=3D"https://mautic.example.com/email/unsubscribe/5fe7=
39b86ecf9" style=3D"-webkit-text-size-adjust:none;-ms-text-size-adjust:none=
;mso-line-height-rule:exactly;font-family:'Open Sans', sans-serif;font-size=
:12px;text-decoration:underline;color:#18475d">Unsubscribe</a>
    <br />
</div>
</body>
</html>

As you can see, the plain text version is at the top (Content-Type: text/plain; charset=utf-8 ) — followed by the HTML version (Content-Type: text/html; charset=utf-8 )

So, it doesn’t hurt to use the both version.

Yep, I understand now. Thanks so much for investing your time to help me. I really appreciate it.

2 Likes

Mautic does not have the best HTML builder. There is an effort to try and get this improved, however with a little bit of effort you can really get the HTML looking the way you want.

There are a few options:

  1. Learn how to build your own twig - this takes effort
  2. You can use an external builder like beefree - export the code and then make a new email and use code mode, and just paste your code there.

Thanks mikew but @devsrealm already solved this by sending me html template that looks exactly the same as if you send it via gmail. Check messages above if you need it by any chance.

Don’t mind sending HTML-Emails. I can’t remember when Outlook introduced HTML-Emails. It was kind of mid 90’s. Since then I haven’t received any plain-text email. You just don’t recognize it. As soon as you can change font, font-size, color, integrate a logo in your signature it is for sure a HTML-Email. I remember something like 25 years ago, there was also a option in outlook to send rich text format with some design possibility’s.
:slight_smile:
I even have to check on my mac os mail how not to use html email. Typically a robot with status information may send you plain text email.

1 Like