Skip to content
Snippets Groups Projects
Commit 183c8bc9 authored by deuce's avatar deuce
Browse files

Support (?) Local email replies.

parent 3c095ccd
Branches
Tags
No related merge requests found
......@@ -23,6 +23,13 @@ else {
hdrs.to_net_type=netaddr_type(http_request.query.to);
if(hdrs.to_net_type!=NET_NONE)
hdrs.to_net_addr=http_request.query.to;
else {
var usr=system.matchuser(http_request.query.to);
if(usr!=0)
hdrs.to_ext=usr;
else
error("Cannot find that local user (Not net address specified)");
}
}
hdrs.from=user.alias;
hdrs.to=http_request.query.to;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment