"Wolfgang Faust" <contrib-git@xxxxxxxxxxxxxxxxx> writes: > The documented purpose of imap-send is to upload draft emails for sending > later, but it did not have any way to mark the messages as \Draft, so some > email clients presented the result as an un-editable, un-sendable email > even if it happened to be in a "Drafts" folder. I agree that defaulting to '--no-draft' is a sensible design choice to avoid breaking clients that have been working fine. It would be helpful to know if e-mail clients that send messages from the Drafts folder without the '\Draft' flag would misbehave if they encounter messages marked as such. Knowing this would help us decide whether to flip the default to '--draft', while keeping '--no-draft' as an escape hatch nobody is expected to use. > +`--draft`:: > +`--no-draft`:: > + Mark uploaded messages with the IMAP `\Draft` flag. The default is `--no-draft`. > ++ > +With libcurl, `--draft` requires version 8.13.0 or later. > +Older libcurl still uploads the message but cannot set the flag. When compiled with older libcurl, would the command error out when run with '--draft', or would it silently ignore the option? I have a mild preference for the former over the latter. Issuing a warning without erroring out is better than nothing, but people tend to overlook warning messages. Also you might want to consider adding a configuration variable, perhaps? I dunno. Thanks.