Avoid Duplicates in $record if Send Fails
- To: mutt-users@xxxxxxxx
- Subject: Avoid Duplicates in $record if Send Fails
- From: "Svend Sorensen" <ssorensen@xxxxxxxxx>
- Date: Fri, 15 Jun 2007 12:07:31 -0700
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qk/ORWZBoXSehFcP74sU+hk7uKSEo6WytsxzC5RAIbjHDyO1upg+uxF31RhTkqO/nuUbrl3jE/Q+jSO/bNDLxRP9rFkilHVGTrExIPaI+UIE1+GL3WRoFy3MHSUWOC2cp67XZmXwMJTbOKpHQLNn795rue0sJ0fnKl3xvZ8qPek=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=lzgMjEgN3pohw9g9YHn03jYos8Veu+oFkFoYX6GYlvm2uVfDt2J5+UY9L2CwGRIYQC60qnF2khl8kKUoUop5iw62KoEsIJsVjByd95/6GGxcTnYJiWduVbZcGRj8/h685CxnfvkECBJehzaoqExQ7EXOpvqay5v7TEO+CIA+8j8=
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Sender: owner-mutt-users@xxxxxxxx
If the sending of a mail fails, and the compose screen is redisplayed,
the message is saved to the $record location. This happens each time
the send fails. This leads to duplicate mails in the $record mailbox.
Is there a way to save the message to $record ONLY if the send goes through.