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

Dump header fields using associative array syntax.

parent 73cd1fdd
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ for(i in recipient) // For each recipient object...
// Dump header field strings
msgtxt.writeln("\r\nArray of RFC822 header fields:\r\n");
for(i in header)
msgtxt.writeln("header." +i+ " = " + header[i]);
msgtxt.writeln("header[" +i+ "] = " + header[i]);
// If there were any processing errors... reject the message
if(!success)
......
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