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

Recipient header field name is now "To".

parent 416be9c4
No related branches found
No related tags found
No related merge requests found
......@@ -137,14 +137,14 @@ if(this.recipient_list_filename!=undefined) {
for(var p in list)
log("list_array["+l+"]."+p+" = "+list[p]);
**/
if(rcpt_list[r].Recipient.toLowerCase()==list.address.toLowerCase()
if(rcpt_list[r].To.toLowerCase()==list.address.toLowerCase()
&& !list.disabled
&& !list.readonly)
break;
}
if(l<list_array.length) { /* match found */
log(LOG_INFO,format("ListServer: Contribution message from %s to %s: %s"
,header.from, rcpt_list[r].Recipient, header.subject));
,header.from, rcpt_list[r].To, header.subject));
handled=true;
if(!process_contribution(header, body, list))
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