<<< Date Index >>>     <<< Thread Index >>>

Re: Avoid Duplicates in $record if Send Fails



Hi Svend!

On Fri, 15 Jun 2007, Svend Sorensen wrote:

> 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.
> 

Not that I know of. You could of course create a folder-hook, that
deletes duplicate messages.
Something like this:
,----
| folder-hook =sent 'push <delete-pattern>~=<enter>'
`----

regards,
Christian
-- 
hundred-and-one symptoms of being an internet addict:
136. You decide to stay in a low-paying job teaching just for the
     free Internet access.