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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Work-arounds for mail problems in 2.2
Pages: [1]

Author Topic: Work-arounds for mail problems in 2.2  (Read 1019 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Work-arounds for mail problems in 2.2
March 25, 2009, 02:33:05 am
Hi there - as reported on the issues there is a problem with attachments and html emails in 2.2 - due to be fixed for 2.3, but causing us havoc in the meantime.

- here's the feedback from one of my users:

"Sorry Myles but sorting out who wants what [plain/html] is just too much faffing.  We are really busy and under-resourced as it is!  CIVI crm is wonderful - but not this bit."

I've set all the existing mail format preferences to "Text" - now the system should only send text emails rather than appending the html version to the plain text version

However I am can't see anywhere to set the default value on new records - i.e. when a new record is created the field prefered_mail_format is defaulted to "Both". I need to change it to default to "Text".

To save me stepping through all the code, does anyone know where the default is set?

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: Work-arounds for mail problems in 2.2
March 25, 2009, 06:16:34 am

this issue is fixed in 2.2.1 and will be on the download servers in a few hours

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

adastra

  • Guest
Re: Default email preference
April 10, 2009, 08:17:43 am
>> When a new record is created the field prefered_mail_format is defaulted to "Both".

Is there a setting or file that I can change to set the preferred mail format to "HTML" for all new contacts?

Many thanks,

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: Work-arounds for mail problems in 2.2
April 10, 2009, 12:56:23 pm

this is set to default in the schema:

Code: [Select]
     preferred_mail_format enum('Text', 'HTML', 'Both')   DEFAULT "Both" COMMENT 'What is the preferred mode of sending an email.',

You'll need to alter the schema to change the default. Please check the mysql docs for how to modify the schema

thanx

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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Work-arounds for mail problems in 2.2

This forum was archived on 2017-11-26.