Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#1484091 closed Feature Patches (fixed)

bcc recipients not saved in draft message

Reported by: porjo Owned by:
Priority: 5 Milestone:
Component: Interface Version: 0.1-rc1
Severity: normal Keywords:
Cc:

Description

When saving a message as a draft, any recipients listed in the 'bcc' are lost. 'cc' recipients appear to be OK.

I've downloaded the latest nightly build - it has the same issue.

Attachments (1)

wiki.jpg (647 bytes) - added by rnzidic 5 weeks ago.
SVN417... One of the key elements here is located in SVN417 is the fact that the code itself helps locate cc and bcc requests http://www.acheapcarinsurance.net as a part of it's header source code.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 6 years ago by black.myst

  • Type changed from Bugs to Patches

A small patch (from revision 416):

Index: program/steps/mail/compose.inc
===================================================================
--- program/steps/mail/compose.inc      (revision 416)
+++ program/steps/mail/compose.inc      (working copy)
@@ -150,7 +150,10 @@
         }
     case 'bcc':
       if (!$fname)
+        {
         $fname = '_bcc';
+        $header = 'bcc';
+        }

       $allow_attrib = array('id', 'class', 'style', 'cols', 'rows', 'wrap', 'tabindex');
       $field_type = 'textarea';
Index: skins/default/templates/compose.html
===================================================================
--- skins/default/templates/compose.html        (revision 416)
+++ skins/default/templates/compose.html        (working copy)
@@ -135,6 +135,9 @@
 var cc_field = document.form._cc;
 if (cc_field && cc_field.value!='')
   rcmail_toggle_display('compose-cc');
+var bcc_field = document.form._bcc;
+if (bcc_field && bcc_field.value!='')
+  rcmail_toggle_display('compose-bcc');

 //-->
 </script>

Diff explanation :

  • program/steps/mail/compose.inc : to send 'bcc' data in the form.
  • skins/default/templates/compose.html : to see 'bcc' field if it's not empty.

comment:2 Changed 6 years ago by robin

  • Resolution set to fixed
  • Status changed from new to closed

Thanks, committed in SVN417.

Changed 5 weeks ago by rnzidic

SVN417... One of the key elements here is located in SVN417 is the fact that the code itself helps locate cc and bcc requests http://www.acheapcarinsurance.net as a part of it's header source code.

Note: See TracTickets for help on using tickets.