Commit 4a7cea57 authored by rswindell's avatar rswindell
Browse files

Don't send mail that has already been sent (but not deleted).

parent 74c22083
......@@ -5521,7 +5521,7 @@ static void sendmail_thread(void* arg)
,i, smb.last_error, __LINE__, msg.idx.number);
if(msg.hdr.attr&MSG_DELETE || msg.to_net.type!=NET_INTERNET || msg.to_net.addr==NULL) {
if(msg.hdr.attr&(MSG_SENT|MSG_DELETE) || msg.to_net.type!=NET_INTERNET || msg.to_net.addr==NULL) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment