hmLoadTopic({
hmKeywords:"Auto Response Script Samples,Autoresponders",
hmTitle:"Auto Response Message Samples",
hmDescription:"A simple oof.mrk auto response message using several auto response macros:",
hmPrevLink:"ar_creating_auto_response_scripts.html",
hmNextLink:"account_db--account_database_options.html",
hmParentLink:"ar_creating_auto_response_scripts.html",
hmBreadCrumbs:"Accounts Menu &gt; Account Settings &gt; Autoresponders &gt; <a href=\"ar_creating_auto_response_scripts.html\">Creating Auto Response Messages<\/a>",
hmTitlePath:"Accounts Menu > Account Settings > Autoresponders > Creating Auto Response Messages > Auto Response Message Samples",
hmHeader:"<h1 class=\"p_Heading1\" style=\"page-break-after: avoid;\"><span class=\"f_Heading1\">Auto Response Message Samples<\/span><\/h1>\n\r",
hmBody:"<p class=\"p_BodyText\"><span class=\"f_BodyText\">A simple oof.mrk auto response message using several auto response macros:<\/span><\/p>\n\r<p class=\"p_Code2_LastItem\"><span class=\"f_Code2_LastItem\">Greetings \$SENDER\$<\/span><\/p>\n\r<p class=\"p_Code2\"><span class=\"f_Code2\">Your message regarding \'\$SUBJECT\$\' won\'t be read by me because I\'m on vacation. Hurray!!!<\/span><\/p>\n\r<p class=\"p_Code2_LastItem\"><span class=\"f_Code2_LastItem\">Yours truly,<\/span><\/p>\n\r<p class=\"p_Code2_LastItem\"><span class=\"f_Code2_LastItem\">\$RECIPIENT\$<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">&nbsp;<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">You can also use some of the header replacement macros to expand this script and control the headers that will be generated when the auto response message is mailed back to <\/span><span class=\"f_PlainText\">\$SENDER\$<\/span><span class=\"f_BodyText\">:<\/span><\/p>\n\r<p class=\"p_Code2_LastItem\"><span class=\"f_Code2_LastItem\">Greetings \$SENDER\$<\/span><\/p>\n\r<p class=\"p_Code2\"><span class=\"f_Code2\">Your message regarding \'\$SUBJECT\$\' won\'t be read by me because I\'m on vacation. Hurray!!!<\/span><\/p>\n\r<p class=\"p_Code2_LastItem\"><span class=\"f_Code2_LastItem\">Yours truly,<\/span><\/p>\n\r<p class=\"p_Code2_LastItem\"><span class=\"f_Code2_LastItem\">\$RECIPIENT\$<\/span><\/p>\n\r<p class=\"p_Code2\"><span class=\"f_Code2\">%SetSubject%=RE: \$SUBJECT\$<\/span><\/p>\n\r<p class=\"p_Code2_LastItem\"><span class=\"f_Code2_LastItem\">%SetAttachment%=c:\\photos\\me_on_vaction.jpg<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">Using that script the auto response message will have &quot;<\/span><span class=\"f_PlainText\">RE: <\/span><span class=\"f_BodyText\">&quot; added to the beginning of the subject and have the specified file attached.<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">The &quot;<\/span><span class=\"f_PlainText\">%SetSubject%=RE: \$SUBJECT\$<\/span><span class=\"f_BodyText\">&quot; line is handled like this:<\/span><\/p>\n\r<p class=\"p_List1\" style=\"text-indent: 0; padding-left: 1.6875rem; margin-left: 2.0625rem;\"><span class=\"f_List1\" style=\"display:inline-block;width:1.6875rem;margin-left:-1.6875rem\">1.<\/span><span class=\"f_List1\">The <\/span><span class=\"f_PlainText\">\$SUBJECT\$<\/span><span class=\"f_List1\"> portion is expanded and replaced by the original message\'s subject text. This makes the string equivalent to:<\/span><\/p>\n\r<p class=\"p_Code2_LastItem\"><span class=\"f_Code2_LastItem\">%SetSubject%=RE: Original Subject Text<\/span><\/p>\n\r<p class=\"p_List1_LastItem\" style=\"text-indent: 0; padding-left: 1.6875rem; margin-left: 2.0625rem;\"><span class=\"f_List1\" style=\"display:inline-block;width:1.6875rem;margin-left:-1.6875rem\">2.<\/span><span class=\"f_List1_LastItem\">MDaemon replaces the original subject, which it has stored in its internal buffers, with this newly calculated one. From that point forward, any use of &quot;<\/span><span class=\"f_PlainText\">\$SUBJECT\$<\/span><span class=\"f_List1_LastItem\">&quot; in the script will return the new result.<\/span><\/p>\n\r<p class=\"p_BodyText\"><span class=\"f_BodyText\">Note the placement of the new macros - they are listed at the bottom of the response script. This is needed to avoid side effects. For example, if the <\/span><span class=\"f_PlainText\">%SetSubject%<\/span><span class=\"f_BodyText\"> macro were placed before the <\/span><span class=\"f_PlainText\">\$SUBJECT\$<\/span><span class=\"f_BodyText\"> macro, which appears in the second line of the response script, the subject text would have already been changed by the time the <\/span><span class=\"f_PlainText\">\$SUBJECT\$<\/span><span class=\"f_BodyText\"> macro was expanded. Therefore, instead of replacing <\/span><span class=\"f_PlainText\">\$SUBJECT\$<\/span><span class=\"f_BodyText\"> with the content of the original message\'s &quot;<\/span><span class=\"f_PlainText\">Subject:<\/span><span class=\"f_BodyText\">&quot; header, it would be replaced with whatever you have set the value of <\/span><span class=\"f_PlainText\">%SetSubject%<\/span><span class=\"f_BodyText\"> to be.<\/span><\/p>\n\r<p class=\"p_SeeAlso\" style=\"page-break-after: avoid; border-right: none; border-bottom: none; border-left: none;\"><span class=\"f_SeeAlso\">See:<\/span><\/p>\n\r<p class=\"p_SeeAlsoLinks\" style=\"page-break-after: avoid;\"><span class=\"f_SeeAlsoLinks\"><a href=\"ar_creating_auto_response_scripts.html\" class=\"topiclink\">Creating Auto Response Messages<\/a><\/span><\/p>\n\r<p class=\"p_SeeAlsoLinks\" style=\"page-break-after: avoid;\"><span class=\"f_SeeAlsoLinks\"><a href=\"ar_accounts.html\" class=\"topiclink\">Autoresponders » Accounts<\/a><\/span><\/p>\n\r<p class=\"p_SeeAlsoLinks\" style=\"page-break-after: avoid;\"><span class=\"f_SeeAlsoLinks\"><a href=\"ar_white-list.html\" class=\"topiclink\">Autoresponders » Exempt List<\/a><\/span><\/p>\n\r<p class=\"p_SeeAlsoLinks\" style=\"page-break-after: avoid;\"><span class=\"f_SeeAlsoLinks\"><a href=\"ar_options.html\" class=\"topiclink\">Autoresponders » Settings<\/a><\/span><\/p>\n\r<p class=\"p_SeeAlsoLinks\" style=\"page-break-after: avoid;\"><span class=\"f_SeeAlsoLinks\"><a href=\"ae_auto_responder.html\" class=\"topiclink\">Account Editor » Autoresponders<\/a><\/span><\/p>\n\r<p class=\"p_ControlIndent\"><span class=\"f_ControlIndent\">&nbsp;<\/span><\/p>\n\r"
})
