Skip to content
Snippets Groups Projects
Commit 3b6ba07c authored by rswindell's avatar rswindell
Browse files

Ignores messages with delete attribute set.

parent af1e429c
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,8 @@ switch(field[0]) {
msgbase = new MsgBase(field[1]);
if(Number(field[2])) {
hdr=msgbase.get_msg_header(false,Number(field[2]));
if(hdr.attr&MSG_DELETE)
break;
writeln(format("Subj : %s",hdr.subject));
writeln(format("To : %s",hdr.to));
writeln(format("From : %s",hdr.from));
......@@ -193,6 +195,8 @@ switch(field[0]) {
hdr=msgbase.get_msg_header(false,i);
if(hdr==null)
continue;
if(hdr.attr&MSG_DELETE)
continue;
msginfo=format("%-25.25s %-25.25s %-25.25s %s"
,hdr.subject
,hdr.from
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment