diff --git a/ctrl/mailproc.cfg b/ctrl/mailproc.cfg index 22665e1bf2be12faca565492457ae8979ef62e70..4856c10706870c47e72b6307de42e1a02185ffbf 100644 --- a/ctrl/mailproc.cfg +++ b/ctrl/mailproc.cfg @@ -30,6 +30,8 @@ ; ; %h = sending SMTP server's host name ; %i = sending SMTP server's IP address +; %s = sender's name or e-mail address (e.g. "Rob Swindell") +; %a = sender's e-mail address (e.g. "rob@somehost.com") ; ; %u = authenticated user number (0=unauthenticated) ; @@ -138,6 +140,9 @@ ; The sending SMTP server's IP addrses (%i) is available to JavaScript modules ; using the 'client.ip_address' property. ; +; The sender's name (%s) and e-mail address (%a) are available to JavaScript +; modules using the 'sender_name' and 'sender_address' properties. +; ; See the example JavaScript mail processor (mailproc_example.js) in your ; Synchronet EXEC directory for more details. ;