Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

MailResponseFunction

MailResponseFunction
is an option for MailReceiverFunction that specifies what function to apply to respond to the sender of mail received by a MailReceiverFunction.

DetailsDetails

  • Typical settings include:
  • Truesend an acknowledgment
    Falseno response
    Automaticsend an acknowledgment when it seems appropriate
    respfunapply the function respfun
  • MailResponseFunction->Automatic avoids sending responses when it detects that the sender is a daemon or that there are "do not reply" directives in Reply-To or From fields, as indicated by the value of the "DoNotReply" element in the association supplied in MailReceiverFunction.
  • With the setting MailResponseFunction->respfun, respfun is applied to the same association as in MailReceiverFunction, but with an additional entry "Result" that gives the result from applying the function in MailReceiverFunction.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Deploy a mail receiver that sends custom responses back to the sender:

In[4]:=
Click for copyable input
Out[4]=
Introduced in 2015
(10.2)