[Tickets #15020] Bcc field not saved in sent messages

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Jul 6 16:03:57 UTC 2020


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/15020
------------------------------------------------------------------------------
  Ticket           | 15020
  Erstellt Von     | wahnes at uni-koeln.de
  Zusammenfassung  | Bcc field not saved in sent messages
  Warteschlange    | IMP
  Version          | FRAMEWORK_5_2
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            | 1
  Zuständige       |
------------------------------------------------------------------------------


wahnes at uni-koeln.de (2020-07-06 16:03) hat geschrieben:

Starting with version 6.2.25 of Imp, the list of "Bcc" recipients of a  
message is not saved to messages in the "Sent" folder anymore. This is  
due to the following commit:  
https://github.com/horde/imp/commit/52ebc72bdc21523488102558b949ff31df80cd51

This commit introduces an "is_array" check on the "Bcc" header to be  
saved. As it turns out, this check always returns false, because the  
$header['bcc'] variable is in fact not an array, but an instance of  
Horde_Mail_Rfc822_List. So with the "is_array" check turned on, no  
"Bcc" headers ever get saved to the message in the "Sent" folder..

Attached is a patch that uses the "isset()" function instead. I don't  
know if that is a good choice, but it sure is better than "is_array()"  
which yields undesired results.



wahnes at uni-koeln.de (2020-07-06 16:03) hat hochgeladen: imp-compose-bcc.patch

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=imp-compose-bcc.patch&ticket=15020&fn=%2Fimp-compose-bcc.patch





More information about the bugs mailing list