post by email

NAML documentation   Watch a video
   Usages of this macro
... in post by email.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<override_macro name="post by email" requires="post_by_email" unindent="true">
    <n.catch_exception
Binary
Namespace: BasicNamespace
Parameters: id, do
. id="save-block">
        <n.save_post_by_email
Macro
Requires: post_by_email
 />
    </n.catch_exception.>
    <n.format_error
Macro
Parameters: message, prompt
.handle_exception
Binary
Namespace: NabbleNamespace
Parameters: for, do
. for="save-block">
        <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. name="subscription_processing_bad_user">
            <n.send_standard_failure_mail
Macro
Requires: post_by_email
Parameters: text
.>
                *** This email address only works for the registered SUDSOL user who it is assigned to.  You sent this email from (<n.email_from
Binary
Namespace: PostByEmail
/>).  Is this the email address you are subscribed to SUDSOL with?  If you continue to have problems, please contact us at slb@sudsol.org   Thanks!  Coleen and Patti. ******************************************************
            </n.send_standard_failure_mail.>
        </n.exception.>
        <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. name="banned">
            <n.send_standard_failure_mail
Macro
Requires: post_by_email
Parameters: text
.>
                 *** Your email to <n.email_to
Binary
Namespace: PostByEmail
/> has bounced.  This may be for one of the following reasons:  1) Because you were responding to a Buy, Sell, Trade post.  Please use the links at the top of the email to reply directly to the person or 2) You are not sending from the email address you are subscribed to SUDSOL with.  If you continue to have problems, please contact us at slb@sudsol.org   Thanks!  Coleen and Patti. ******************************************************
            </n.send_standard_failure_mail.>
        </n.exception.>
        <n.exception
Binary
Namespace: ExceptionNamespace
Parameters: name, do
. name="bad_mail">
            <n.send_standard_failure_mail
Macro
Requires: post_by_email
Parameters: text
.>
                Your email to <n.email_to
Binary
Namespace: PostByEmail
/> couldn't be parsed.
            </n.send_standard_failure_mail.>
        </n.exception.>
    </n.format_error.handle_exception.>
</override_macro>
Overrides default macro
... in post_by_email.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<macro name="post by email" requires="post_by_email" unindent="true">
    <n.catch_exception. id="save-block">
        <n.save_post_by_email />
    </n.catch_exception.>
    <n.format_error.handle_exception. for="save-block">
        <n.exception. name="subscription_processing_bad_user">
            <n.send_standard_failure_mail.>
                This email address only works for the registered Nabble user who it is assigned to, and you (<n.email_from/>) are not that user.
            </n.send_standard_failure_mail.>
        </n.exception.>
        <n.exception. name="banned">
            <n.send_standard_failure_mail.>
                Your email to <n.email_to/> has been rejected because you are not allowed to post to <n.replied_to_node.url/> . Please contact the owner about permissions or visit the Nabble Support forum.
            </n.send_standard_failure_mail.>
        </n.exception.>
        <n.exception. name="bad_mail">
            <n.send_standard_failure_mail.>
                Your email to <n.email_to/> couldn't be parsed.
            </n.send_standard_failure_mail.>
        </n.exception.>
    </n.format_error.handle_exception.>
</macro>