If i send a newsletter issue in html format user with gmail account (web based) recive:

...

[Message clipped] View entire message

same problem occurs even i send a newsletter with a short code (less than 100kb)

CommentFileSizeAuthor
#8 message clipped.png10.82 KBparvind87
simplenews.png10.08 KBulyx451
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

miro_dietiker’s picture

might be in conjunction with:
#581142: truncated mail due to css

miro_dietiker’s picture

Status: Active » Postponed (maintainer needs more info)
Sutharsan’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No activity, closing the issue. Feel free to re-open if you have more details.

AviadG’s picture

Issue tags: -gmail
AviadG’s picture

Issue tags: +SimpleNews
AviadG’s picture

Version: 5.x-1.5 » 6.x-2.x-dev

subscribing...

Sutharsan’s picture

Issue tags: -SimpleNews +gmail

Note this issue is closed. Therefore it is barely usefull to tag this issue.

parvind87’s picture

Project: Simplenews » User registration notification
Version: 6.x-2.x-dev » 6.x-1.9
Component: Usability » Code
Priority: Normal » Major
Status: Closed (fixed) » Active
FileSize
10.82 KB

Please help me.

When ever user registers to the site(built in drupal) he get the email
Gmail doesn't show full message instead of displays as attached one.

" [Message clipped] View entire message"

Thanks and Regards
Parvind

rmiddle’s picture

Priority: Major » Minor
Status: Active » Needs work

All I am doing is generating a text message. If you can provide some details about why it is getting clipped I will be happy to fix it.

Thanks
Robert

ealott’s picture

I think I found the reason messages are getting clipped. Gmail clips long messages. If you look at the source of the email message, it has the entire stylesheet from the theme, and possibly some additional HTML...more than enough for gmail to consider it a long message. It looks as if most of this CSS/HTML is unnecessary for emails.

http://drupal.org/node/631694
It seems gmail clips messages larger than 100 or 102 kb. Disabling the MIME mail module helped for me.

miro_dietiker’s picture

Status: Needs work » Fixed

You should define an own mail.css.

mimemail will include it and drop all your stylesheets.

AviadG’s picture

Changing the email the newsletter is being sent from eliminated the clipped message.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

juampynr’s picture

Agree with miro_dietiker, I added a mail.css at the root of my default theme (sites/all/themes/your_theme/mail.css), and it was added to the mail instead of my site css. This made the email not to be clipped anymore.

ashishdalvi’s picture

Thanks miro_dietiker and juampy
Mime mail module was including the unnecessary css.
Added the mail.css in THEME and issue got solved.

wirka’s picture

Issue summary: View changes

#11 works like a charms, please make sure flush the cache to get the effects.

pratip.ghosh’s picture

Yes #11 works... Thanks a lot.

samuel.mortenson’s picture

You can also just set mimemail_sitestyle to 0/FALSE, which will disable the default behavior of including all style sheets when sending mail.

eliasdelatorre’s picture

Had the same problem.

My mimemail-message.tpl.php file had this on top:

<?php if ($css): ?>
    <style type="text/css">
      <!--
      <?php //print $css; //disabled since adding CSS made the email clipped in gmail ?>
      -->
    </style>
<?php endif; ?>

Removing that I got rid of the clipping.

ghadaezzat’s picture

thanks ,worked for me

manpreet.singh’s picture

@eliasdelatorre Thanks, it works.