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) »
  • Maximum email length?
Pages: [1]

Author Topic: Maximum email length?  (Read 821 times)

nrms

  • Guest
Maximum email length?
February 28, 2010, 05:03:31 am
Been trying to get CiviCRM up and running and doing a bit of testing now rather than on a live system, and I seem to have come across a pretty problematic restriction...

I am using a reminder email to get people to renew membership after a year. If I send out a short email everything works fine. However, once the email hits a certain length, the member is emailed an error report from the Smart component of CiviCRM. A typical email looks like this (x used to mask paths, but 1 x replaces 1 character, so the string length remains unaltered):

Warning: include(/xxxxxxx/xxxxxx/xxxxxxxxxxxx/xxxxxxxxxx/xxxxx/sites/default/files/civicrm/templates_c/en_US/en_US//%%DD/DDA/DDA2AAB1%%transact%3Freset%3D1%26id%3D1%26cs%3D82d854a343a800a100c7b9437b04802f_1267361334_168%26cid%3D3%0D%0A%0D%0AIf+you+have+any+problems+renewing+your+membership%2C+or+if+you+wish+to+provide+us+with+any+feedback+on+why+you+have+decided+not+to+renew+your+membership.php) [function.include]: failed to open stream: File name too long in /xxxxxxxxxxxxxxx/xxxxxxx/xxxxxx/xxxxxxxxxxxx/xxxxx-xxxx/xxxxx/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php  on line 1263

Warning: include() [function.include]: Failed opening '/xxxxxxx/xxxxxx/xxxxxxxxxxxx/xxxxxxxxxx/xxxxx/sites/default/files/civicrm/templates_c/en_US/en_US//%%DD/DDA/DDA2AAB1%%transact%3Freset%3D1%26id%3D1%26cs%3D82d854a343a800a100c7b9437b04802f_1267361334_168%26cid%3D3%0D%0A%0D%0AIf+you+have+any+problems+renewing+your+membership%2C+or+if+you+wish+to+provide+us+with+any+feedback+on+why+you+have+decided+not+to+renew+your+membership.php' for inclusion (include_path='.:/xxxxxxx/xxxxxx/xxxxxxxxxxxx/xxxxxxxxxx/xxxxx/sites/all/modules/civicrm:/xxxxxxx/xxxxxx/xxxxxxxxxxxx/xxxxxxxxxx/xxxxx/sites/all/modules/civicrm/packages:.:/usr/share/php5/') in /xxxxxxxxxxxxxxx/xxxxxxx/xxxxxx/xxxxxxxxxxxx/xxxxxxxxxx/xxxxx/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263


I started off by adding a line of text to the same email template, so I know it has worked, but as soon as I got to a certain length it ceased.

Tried sending the full email as an existing template in New Mailing and it worked with no problems - only seems to be when CiviMember is using it to send the renewal notice that things get a little problematic! (Does that makes this better posted in CiviMember?)

Any advice on how to get around this issue would be greatly appreciated.

Neil
« Last Edit: February 28, 2010, 06:04:36 am by nrms »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Maximum email length?
March 01, 2010, 03:11:54 am
I am not sure if this is related. But can you apply patch mentioned here: http://forum.civicrm.org/index.php/topic,12374.msg53552.html#msg53552 and see if that helps.

HTh
Kurund
Found this reply helpful? Support CiviCRM

nrms

  • Guest
Re: Maximum email length?
March 01, 2010, 05:04:15 am
Bingo!
Seems to have worked. Well I guess I have a year to keep doing occaisonal tests before it has to send any out for real :)
Cheers!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Maximum email length?

This forum was archived on 2017-11-26.