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) »
  • Extra quotes around "From" email name
Pages: [1]

Author Topic: Extra quotes around "From" email name  (Read 1058 times)

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Extra quotes around "From" email name
January 11, 2010, 06:51:27 am
I got this when upgrading an install from 2.2 to 3.0.3 My push to upgrade actually came from the issue of accents in the From name causing bounces [since non-ascii chars aren't allowed according to the email spec.], and I'm guessing that the solution to that issue is the new problem.

Specifically: when editing the allowable from addresses in CiviMail configuration, it requires you to put quotes around the name [good], but then if you look at the From field of the emails being generated, you'll see an extra set of quotes.

So somewhere in the code it's parsing out the address into the email and name and putting extra quotes around the name.

I put in a temporary fix by removing the requirement of putting quotes around the from address, though I'm not sure if this is really a great solution. I'm guessing the code to add the extra quotes is due to the cases where the From address is being built on the fly [eg. when sending one-off emails to contacts], so I think the real solution is to fix that code and test for existing quotes before automatically adding them.

The relevant issue looks to be this one:

http://issues.civicrm.org/jira/browse/CRM-4631

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: Extra quotes around "From" email name
January 12, 2010, 01:03:02 am
You should apply below patch and see if that help

http://fisheye2.atlassian.com/changelog/CiviCRM/?cs=25832

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Extra quotes around "From" email name

This forum was archived on 2017-11-26.