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.
