MailResponseFunction

MailResponseFunction

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

Details

  • 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.

Examples

Basic Examples  (1)

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

Wolfram Research (2015), MailResponseFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/MailResponseFunction.html.

Text

Wolfram Research (2015), MailResponseFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/MailResponseFunction.html.

CMS

Wolfram Language. 2015. "MailResponseFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MailResponseFunction.html.

APA

Wolfram Language. (2015). MailResponseFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MailResponseFunction.html

BibTeX

@misc{reference.wolfram_2024_mailresponsefunction, author="Wolfram Research", title="{MailResponseFunction}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/MailResponseFunction.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_mailresponsefunction, organization={Wolfram Research}, title={MailResponseFunction}, year={2015}, url={https://reference.wolfram.com/language/ref/MailResponseFunction.html}, note=[Accessed: 21-November-2024 ]}