post by email

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "post by email".
... in post by email.naml
1
2
3
4
5
6
7
8
9
<override_macro name="post by email" requires="post_by_email" unindent="true">
    <n.send_failure_mail. from="The New York Ski Blog">
        Sorry, but you can't post new messages by email to the "The New York Ski Blog | NY Ski Forum | Magazine".
 
        Please post your message directly on the website:
        http://mag.nyskiblog.com/
        http://forum.nyskiblog.com/
    </n.send_failure_mail.>
</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>