by Exsitec

This popular plugin from Exsitec now also support all SugarCRM's Cloud versions! Supporting your customers has never been easier! Build and send emails in a snap without ever leaving the record that you are on. Replying is now as easy as one click.

Free Trial

By clicking you consent to share your profile with the developer

#4010 - Bug if i receive a mail without body

Closed Feature created by pietro.sacchi 5 years ago

hi, we added . few modification to quickcompose.js

This mod covers the case when someone receive an email without text in this case the plugin does not write correctly the body

line 778

             description_html = this.emailbean.get('description');
-            description_html = description_html.replace(/(?:\r\n|\r|\n)/g, '<br />');//Replace newline-chars with <br/>
+
+            if (typeof description_html == 'undefined') {
+                description_html = '<br />';
+            }
+            else {
+                description_html = description_html.replace(/(?:\r\n|\r|\n)/g, '<br />');//Replace newline-chars with <br/>
+            }


  1. joakimnorlinder1 member avatar

    joakimnorlinder1

    5 years ago

    Thanks for the contribution Pietro!

    Br Joakim Norlinder

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...