From e70072974fffb75ce24ab0c9ff697cea9586ef72 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 22 Oct 2003 01:01:41 +0000
Subject: [PATCH] Dump header fields using associative array syntax.

---
 exec/mailproc_example.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/mailproc_example.js b/exec/mailproc_example.js
index 69e6f2c3a1..4621794a8c 100644
--- a/exec/mailproc_example.js
+++ b/exec/mailproc_example.js
@@ -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)
-- 
GitLab