File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -2751,10 +2751,18 @@ pub(crate) async fn create_send_msg_jobs(context: &Context, msg: &mut Message) -
2751
2751
let from = context. get_primary_self_addr ( ) . await ?;
2752
2752
let lowercase_from = from. to_lowercase ( ) ;
2753
2753
2754
- // Send BCC to self if it is enabled and we are not going to
2755
- // delete it immediately. `from` must be the last addr, see `receive_imf_inner()` why.
2754
+ // Send BCC to self if it is enabled.
2755
+ //
2756
+ // Previous versions of Delta Chat did not send BCC self
2757
+ // if DeleteServerAfter was set to immediately delete messages
2758
+ // from the server. This is not the case anymore
2759
+ // because BCC-self messages are also used to detect
2760
+ // that message was sent if SMTP server is slow to respond
2761
+ // and connection is frequently lost
2762
+ // before receiving status line.
2763
+ //
2764
+ // `from` must be the last addr, see `receive_imf_inner()` why.
2756
2765
if context. get_config_bool ( Config :: BccSelf ) . await ?
2757
- && context. get_config_delete_server_after ( ) . await ? != Some ( 0 )
2758
2766
&& !recipients
2759
2767
. iter ( )
2760
2768
. any ( |x| x. to_lowercase ( ) == lowercase_from)
You can’t perform that action at this time.
0 commit comments