Mautic Community Forums

Message Clipped

I am trying to just send a simple text based email when a user submits a form but when I test out this form I get a “[Message clipped] View entire message” in my email rather than the message itself. I have tried creating a new form, creating new email messages or only having a single line of text but it still continues to do this. Any Suggestions?

I am trying to just send a simple text based email when a user submits a form but when I test out this form I get a “[Message clipped] View entire message” in my email rather than the message itself. I have tried creating a new form, creating new email messages or only having a single line of text but it still continues to do this. Any Suggestions?

How long is the message? Here it says:

https://econsultancy.com/blog/65360-prevent-gmail-clipping-your-message-with-an-email-diet/

Yea, I found that article as well. I have tried to just create an email with 5 words of text and I am still getting the same issue.

My text message is 469kB. The reason for so huge size are base64 encoded files:

  • background images ( even in plain text template)
  • fonts

When I use any theme then if gets back to 5-6kB which is perfectly fine!

Following this thread.

Im also facing this issue, is there a temporary fix?

A temporary fix for GMail? You may try to ask Google, but with my experience, they don’t reply too much.

@escopecz, I do not think the issue is about gmail clipping large e-mails.

The issue is that mautic mail composer (without theme) creates half megabyte mails.

Oh, I din’t catch that you think Mautic is responsible for the large email from your question.

It depends what you send in that email, isn’t it? If you send there a half megabyte image encoded in base64 in your email, then the email will have a half megabyte. You can insert the image by the <img/> tag and the email will be a half megabyte smaller. Over all, I still don’t think it is Mautic’s fault.

@escopecz

Thanks for the reply, Even if you send an email without images or very little text, the issue is the same.

So size doesn’t seem to be the issue. Perhaps if you could just send a test email to a Gmail account and see the issue for yourself?

I have not had this problem with other email marketing services so I am humbly assuming that it might be an issue on Mautic’s side?

I think we are getting to the point slowly. :slight_smile: Here are steps to replicate the issue:

  1. Create new e-mail.
  2. Type text into subject, internal name and one word in body.
  3. Send test.

Mautic by default will attach fonts and backgrounds as base64. While user only typed few words in subject and in body.

Guys, I’m testing Mautic with GMail daily, I’ve never seen the issue you are describing. I just sent an email to a lead and this is the source which was delivered to my GMail inbox:

[code]Delivered-To: linhartescope+mautic4@gmail.com
Received: by 10.25.84.144 with SMTP id i138csp1369217lfb;
Tue, 22 Dec 2015 05:17:00 -0800 (PST)
X-Received: by 10.13.234.205 with SMTP id t196mr18578300ywe.110.1450790219990;
Tue, 22 Dec 2015 05:16:59 -0800 (PST)
Return-Path: bounce-md_30672391.56794d31.v1-272a74aa497844cbb23f01f682489d7b@mandrillapp.com
Received: from mail134-2.atl141.mandrillapp.com (mail134-2.atl141.mandrillapp.com. [198.2.134.2])
by mx.google.com with ESMTPS id n129si15552721ywn.145.2015.12.22.05.16.59
for <[censored]@gmail.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Tue, 22 Dec 2015 05:16:59 -0800 (PST)
Received-SPF: pass (google.com: domain of bounce-md_30672391.56794d31.v1-272a74aa497844cbb23f01f682489d7b@mandrillapp.com designates 198.2.134.2 as permitted sender) client-ip=198.2.134.2;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of bounce-md_30672391.56794d31.v1-272a74aa497844cbb23f01f682489d7b@mandrillapp.com designates 198.2.134.2 as permitted sender) smtp.mailfrom=bounce-md_30672391.56794d31.v1-272a74aa497844cbb23f01f682489d7b@mandrillapp.com;
dkim=pass header.i=@mail134-2.atl141.mandrillapp.com;
dkim=pass header.i=@mandrillapp.com;
dmarc=fail (p=NONE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mandrill; d=mail134-2.atl141.mandrillapp.com;
h=From:Sender:Subject:To:Message-Id:Date:MIME-Version:Content-Type; i=[censored]@mail134-2.atl141.mandrillapp.com;
bh=50OCvU3T0epVIf/VKK16dfGUD6I=;
b=F7FTH1jo7qOcXBNjieQkKvwHOtuyyNO23onv/1hHYFvw7J9dctSl2pTKszBIwy99NW2//DtuRSDG
oiOEMkVBdQa7IKHQMkYQjQSeTxFQla33qMHZId7d8w7EGoEXKUgAHEX9jEjyDI84/SO+Rmoa5AFa
rV10ev9vlk1a9Qml9KU=
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=mail134-2.atl141.mandrillapp.com;
b=jJOACqETFriSS9laeUkU5oT5IZBjPd88iIb8p2LQZEbmnONLnFRPxWsGK0M9RxBo3n/6PKHLvrxx
hpRcPgJMCf5qzRH3R1NgaJ62cKKu6Dmoayh6vYdWFyPb0lY7N+MeKetz1Do/WKtPd6syDFKbUOT6
I4bKcstv4BwgmQgazE0=;
Received: from pmta03.mandrill.prod.atl01.rsglab.com (127.0.0.1) by mail134-2.atl141.mandrillapp.com id hf56km1sau8u for <[censored]@gmail.com>; Tue, 22 Dec 2015 13:16:33 +0000 (envelope-from bounce-md_30672391.56794d31.v1-272a74aa497844cbb23f01f682489d7b@mandrillapp.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com;
i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1450790193; h=From :
Sender : Subject : To : Message-Id : Date : MIME-Version : Content-Type
: From : Subject : Date : X-Mandrill-User : List-Unsubscribe;
bh=qyHLM0uBNGFrhKxWbyFU7hE/QGZ2gAswyDIdhWWnOa8=;
b=RTAm/fxbayjulXq2nYnSSPgDvo8gf+hoxmrM5Pj2Ke3kPTYl4GV95+pQGsq/zG4ENoNiWr
GJNpsGNNcFaqCPmUcqOr0JNKMyn/IwDENCcrEIWNYYNgq3BCNYkfNPmCBfXnWO8Vqt/3eEEO
8XQJDPVUGQ2WzUf/ZG5JqPdi4/myk=
From: John Linhart <[censored]@gmail.com>
Sender: John Linhart <[censored]@mail134-2.atl141.mandrillapp.com>
Subject: test
Return-Path: bounce-md_30672391.56794d31.v1-272a74aa497844cbb23f01f682489d7b@mandrillapp.com
Received: from [84.242.121.99] by mandrillapp.com id 272a74aa497844cbb23f01f682489d7b; Tue, 22 Dec 2015 13:16:33 +0000
To: Mautic <[censored]@gmail.com>
X-Report-Abuse: Please forward a copy of this message, including all headers, to abuse@mandrill.com
X-Report-Abuse: You can also report abuse here: http://mandrillapp.com/contact/abuse?id=30672391.272a74aa497844cbb23f01f682489d7b
X-Mandrill-User: md_30672391
Message-Id: 30672391.20151222131633.56794d31c08f12.79741451@mail134-2.atl141.mandrillapp.com
Date: Tue, 22 Dec 2015 13:16:33 +0000
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="_av-PgMhU4u9NDQroGyn6laQlw"

–_av-PgMhU4u9NDQroGyn6laQlw
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

test body
–_av-PgMhU4u9NDQroGyn6laQlw
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

test body

--_av-PgMhU4u9NDQroGyn6laQlw-- [/code] This is 4.3 KB. Most of it is the header. How does your email source code looks like?

And Mautic doesn’t send any fonts nor background images by default. Where did you get that?

Here is my test e-mail: https://dl.dropboxusercontent.com/u/3963150/test%20email.html

@trofim that is not Mautic’s content. You must have added it somehow. For example, if you search for a CSS class _fd6-hoverMenu from the source code of your email, it is not part of Mautic’s code:

https://github.com/mautic/mautic/search?utf8=✓&q=_fd6-hoverMenu&type=Code

I’d really like to know where did it came from. Please, tell us when you figure it out. Because it’s even not email-ready code. Many email inboxes doesn’t display CSS styles in the <style/> tag as you have there. You also have there javascript, which is, ehm, weird at least.

Thanks for checking. I had a closer look at class names. I think it could be one of browser addins…

Yep, that was Grammarly Chrome add-in.

In case anyone else is having this problem, I also realized that, like @trofim, Grammarly for Firefox was adding a bunch of code to the textarea (message field) when sending. I tested using Safari and the message arrived in Gmail without the “Message clipped” note.