CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Civimails are arriving 'blank' with no body etc
Pages: [1]

Author Topic: Civimails are arriving 'blank' with no body etc  (Read 1949 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Civimails are arriving 'blank' with no body etc
April 18, 2012, 09:09:43 pm
it seems to happening for only some recipients but is across all programs, browsers and systems, including iPhones, Macs and PCs; Outllook, Hotmail, Gmail; all the browsers (have heard from people using Thunderbird, Firefox, IE, Opera, Chrome and Safari) and many operating systems (XP, Windows 7, Mac OSX 10.5.8, Mac 10.7 - Lion, Mac OS X 10.6.8). Plus all different ISPs
lobo suggested: check permissions on the files directory and make sure cli has write permission on those

but these would seem to be correct
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Civimails are arriving 'blank' with no body etc
April 18, 2012, 11:05:21 pm
That's a bit scary.
What version of CiviCRM? CMS? PHP? etc.
Try asking your question on the new CiviCRM help site.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Civimails are arriving 'blank' with no body etc
April 19, 2012, 12:53:55 am
Can you view the source of these msg? are they really empty or is this the wrong mimepart displayed?

can you paste the source as received?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Civimails are arriving 'blank' with no body etc
April 19, 2012, 01:13:10 am
i have had the raw source fwded to me and it seems to just end after 'date' - not sure which bits i should anonymise - hopefully have done the right thing

Return-path: <snip>
Received: from nk11r10mm-smtpin125.mac.com ([10.150.68.125])
 by ms04511.mac.com (Oracle Communications Messaging Server 7u4-24.01
 (7.0.4.24.0) 64bit (built Jan  3 2012))
 with ESMTP id <0M2O00A0Q3VCTTB0@ms04511.mac.com> for xxxx@xx.com; Wed,
 18 Apr 2012 09:04:24 +0000 (GMT)
Original-recipient: rfc822;xxxxxxx@xxx.com
Received: from xxxxx
 by smtpin125.mac.com (Oracle Communications Messaging Server 7u4-23.01
 (7.0.4.23.0) 64bit (built Aug 10 2011))
 with ESMTP id <0M2O00E723VBWW20@smtpin125.mac.com> for xxxxxxxx@xx.com
 (ORCPT xxxxxxxx@xx.com); Wed, 18 Apr 2012 09:04:24 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure
 engine=2.50.10432:5.6.7580,1.0.260,0.0.0000
 definitions=2012-04-18_04:2012-04-18,2012-04-18,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 ipscore=0 suspectscore=3 phishscore=0 bulkscore=1 adultscore=2 classifier=spam
 adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000
 definitions=main-1204180033
Received: from localhost ([127.0.0.1] helo=xxxxxxxx.asn.au)
        by fuzu.fuzion.co.nz with esmtp (Exim 4.72)
        (envelope-from <aba+b.232.104224.854933138d8a4afe@civimail.co.nz>)
        id 1SKQoJ-0001YZ-O0     for xxxxx@xx.com; Wed, 18 Apr 2012 05:04:23 -0400
Message-id: <E1SKQoJ-0001YZ-O0@fuzu.fuzion.co.nz>
MIME-version: 1.0
Reply-to: Australian Breastfeeding Association <info@breastfeeding.asn.au>
From: Australian Breastfeeding Association <info@breastfeeding.asn.au>
Subject: Urgent - volunteer reports are now due
List-Unsubscribe: <mailto:aba+u.xxxxxxxx@civimail.co.nz>
To: xxxxx@xx.com
Precedence: bulk
X-CiviMail-Bounce: aba+b.xxxxx@civimail.co.nz
Date: Wed, 18 Apr 2012 19:04:23 +1000
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Civimails are arriving 'blank' with no body etc
April 19, 2012, 01:38:19 am
Damn, really empty.

Is this always the same email(s) that get empty or bit of random?
This case seems to be a bit special (forward from one email address to the @mac.com)

As an aside quite like that the spam filter gives a adultscore of 2 for breastfeeding ;)
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Civimails are arriving 'blank' with no body etc
April 19, 2012, 01:52:54 am
i am not sure yet - the first email that got reported only had a few problems reported. the next one had a lot more. not sure if same people got same email and got problem both times or not.
am just setting up a group of 20 contacts all coming to my email accounts so will see if i am lucky enough to get a blank myself
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Civimails are arriving 'blank' with no body etc
April 19, 2012, 01:59:53 am
well i just got 20 successes - so proves nothing but thought it was worth a shot
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

torrance123

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 3
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: 5.0.91
  • PHP version: 5.3.3
Re: Civimails are arriving 'blank' with no body etc
April 19, 2012, 03:08:49 pm
If it helps the diagnosis of where the problem is (or isn't) below are some entries from the exim4 log.

These are the logs of two emails that came through blank:

Code: [Select]
1489:2012-04-18 05:04:23 1SKQoJ-0001YZ-O0 <= CIVIMAIL@CIVIMAIL.COM H=localhost (breastfeeding.asn.au) [127.0.0.1] P=esmtp S=746
1520:2012-04-18 05:04:24 1SKQoJ-0001YZ-O0 => EMAIL@EMAIL.COM R=dnslookup T=remote_smtp H=mx5.me.com.akadns.net [17.148.17.55]
1521:2012-04-18 05:04:24 1SKQoJ-0001YZ-O0 Completed

2472:2012-04-18 05:10:25 1SKQu9-00025g-AF <= CIVIMAIL@CIVIMAIL.COM H=localhost (breastfeeding.asn.au) [127.0.0.1] P=esmtp S=748
2539:2012-04-18 05:10:27 1SKQu9-00025g-AF => EMAIL@EMAIL.COM R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [74.125.79.26] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com"
2540:2012-04-18 05:10:27 1SKQu9-00025g-AF Completed

And for comparison this is the log entry of a successful send:

Code: [Select]
1113:2012-04-19 04:52:04 1SKn5w-0000vw-GL <= CIVIMAIL@CIVIMAIL.COM H=localhost (breastfeeding.asn.au) [127.0.0.1] P=esmtp S=2767
1141:2012-04-19 04:52:06 1SKn5w-0000vw-GL => EMAIL@EMAIL.COM R=dnslookup T=remote_smtp H=ASPMX.L.GOOGLE.COM [173.194.70.27] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com"
1142:2012-04-19 04:52:06 1SKn5w-0000vw-GL Completed

Those logs look fine to me, though I'm not a mail expert and perhaps someone with more knowledge can spot something meaningful that I'm missing.

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Civimails are arriving 'blank' with no body etc
April 20, 2012, 04:02:20 am
S=746 looks like a blank message (767 bytes for headers only, compared with S=2767 for the email with expected content). Looks like the mails are hitting your MTA blank, not getting munged in transit. Exim log is from the same machine as CiviCRM is on?

Try a run rerouting emails to disk (CIVICRM_MAIL_LOG) then look at the sizes of the output messages? If the issue is diskspace related (can't build templates because disk full) then that may exacerbate. Which is good for debugging.

Can you reproduce it by re-running the same mailout against the contacts who previously got empties? (If it's related to the contacts / contact data being used in the mailout, perhaps something causes mail templating to error out rather than produce output (eg if custom data X doesn't exist for that contact). {/guess})

Sounds like you've had a good look for patterns already (ISPs, MUAs, platforms) :) Am I right in recalling CiviMail sends emails alphabetically by address or contact name? Any pattern there to the empties (eg R..Z)?
@xurizaemon ● www.fuzion.co.nz

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Civimails are arriving 'blank' with no body etc
May 22, 2012, 03:04:42 am
so problem occurs when a contact has more than one primary - the contacts at the end of the list (rather than the contact with 2 primaries) are affected.

pretty flaming hard to track down. thank god for eileen
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civimails are arriving 'blank' with no body etc
May 22, 2012, 06:40:48 am

Would be great if we can get more info on what happened and why, and from there a patch that fixes it :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mcternan

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4.11
  • CMS version: Drupal 7.10
  • MySQL version: 5.1.58
  • PHP version: 5.3
Re: Civimails are arriving 'blank' with no body etc
October 24, 2012, 12:31:35 am
TOP

Any follow up info on this?

I've been experiencing the same problem but have not been able to narrow it down to having multiple primaries. I am having blank mails sent to random addresses when sending out test mails. I will send tests to a list of 2 emails and the blank mail will randomly alternate between users.

Any ideas?

Conor

Quote from: Donald Lobo on May 22, 2012, 06:40:48 am

Would be great if we can get more info on what happened and why, and from there a patch that fixes it :)

lobo

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civimails are arriving 'blank' with no body etc
October 24, 2012, 06:30:06 am

no :(

you might want to follow up on the tip here and see if you have any contacts with multiple primary email addresses

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Civimails are arriving 'blank' with no body etc

This forum was archived on 2017-11-26.