#3420: option to write fcc only after sendmail exits successfully
----------------------------------------------------------+-----------------
 Reporter:  madduck                                       |       Owner:  
mutt-dev
     Type:  enhancement                                   |      Status:  new   
  
 Priority:  major                                         |   Milestone:        
  
Component:  mutt                                          |     Version:  
1.5.21  
 Keywords:  option sendmail fcc exit code error non-zero  |  
----------------------------------------------------------+-----------------
Changes (by mbroemme):

  * version:  1.5.20 => 1.5.21


Comment:

 I've attached a patch which will integrate this functionality into
 mutt-1.5.21. The patch will add a new configuration switch named
 $sendmail_first and will do the following:

 sendmail_first
 Type: boolean
 Default: no

 If set, mutt will write fcc not until mail was delivered successfully. If
 set to yes the setting $sendmail_wait will be ignored.

 To make the code change friendly and readable I've put the fcc
 functionality from ci_send_message() function into a new one write_fcc().
 I really appreciate any comments on it.

 For me this functionality was quite important because in mobile hostspots
 via UMTS in a train the network connection is very unstable and mail
 sending often fails for mails with large attachments and I have to cleanup
 my outbox once a day.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3420#comment:6>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to