Email: Change from comma to semicolon?

Hi.

Sugar has this very cool feature that one can email to many people at the same time by selecting the appropriate Contacts in List View, then click on the arrow and choose Email. However, the deliminator (seperator) is comma ( , ) but Outlook prefers (sure it can be configured) semicolon ( ; ).  

Can this be changed system wide?

How?

Thanks guys and have a spectacular weekend

KGM

Parents
  • Hi Kristjan,

    As i seen this parameter(email_address_separator) in config.php.It is set to comma(,)

    I think we can override this parameter in config_override.php like below

    $sugar_config['email_address_separator']=";";
  • 1st of all there is an option in Outlook which allows comma as address separator, so if you set that option all commas will be replaced by semicolons.

    If you really want to change the comma in Sugar to semicolon you must patch a core file which is not upgradesafe.

    This file is \include\javascript\sugar7\plugins\EmailClientLaunch.js

    I function _formatRecipientsToString you find the definition of the delim_char which is ',' by default.

    If you change the defintion to:

       _formatRecipientsToString: function(recipients) {
          var emailDelim = ';',
          emails = [],
          email;

    the email addresses will be separated by ";" globally.

    Harald Kuske
    Principal Solution Architect – Professional Services, EMEA
    hkuske@sugarcrm.com
    SugarCRM Deutschland GmbH

Reply
  • 1st of all there is an option in Outlook which allows comma as address separator, so if you set that option all commas will be replaced by semicolons.

    If you really want to change the comma in Sugar to semicolon you must patch a core file which is not upgradesafe.

    This file is \include\javascript\sugar7\plugins\EmailClientLaunch.js

    I function _formatRecipientsToString you find the definition of the delim_char which is ',' by default.

    If you change the defintion to:

       _formatRecipientsToString: function(recipients) {
          var emailDelim = ';',
          emails = [],
          email;

    the email addresses will be separated by ";" globally.

    Harald Kuske
    Principal Solution Architect – Professional Services, EMEA
    hkuske@sugarcrm.com
    SugarCRM Deutschland GmbH

Children