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

Added "To:" field to outbound messages and now imports "To:" fields, if specified.

parent bb3ed66f
No related branches found
No related tags found
No related merge requests found
......@@ -273,6 +273,7 @@ for(i in area) {
,hdr.from
,antispam,hdr.from
,antispam,system.inetaddr));
writeln("To: " + hdr.to);
writeln("Subject: " + hdr.subject);
writeln("Message-ID: " + hdr.id);
writeln("Date: " + hdr.date);
......@@ -373,6 +374,10 @@ for(i in area) {
line=line.slice(1);
switch(line.toLowerCase()) {
case "to":
case "apparently-to":
hdr.to=data;
break;
case "from":
hdr.from=data;
break;
......
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