send_mail_to_list

   Usages of this macro
... in mailing_list.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<macro name="send_mail_to_list" unindent="true">
    <n.new_node
Macro
Requires: node_page
Parameters: do
.get_associated_mailing_list_archive
Binary
Namespace: NodeNamespace
Parameters: do
.>
        <n.new_email
Binary
Namespace: NabbleNamespace
Parameters: do
.>
            <n.send
Binary
Namespace: EmailNamespace
Parameters: cc, text_part, bcc, attachments, to_name, subject, from_name, html_part, set_headers_for, aol_part, bounce_to, from, to
>
                <from><n.new_node
Macro
Requires: node_page
Parameters: do
.owner
Binary
Namespace: NodeNamespace
Parameters: do
.user_email
Binary
Namespace: UserNamespace
/></from>
                <from_name><n.new_node
Macro
Requires: node_page
Parameters: do
.owner
Binary
Namespace: NodeNamespace
Parameters: do
.name
Binary
Namespace: UserNamespace
Parameters: truncate
/></from_name>
                <to><n.mailing_list_address
Binary
Namespace: MailingListNamespace
/></to>
                <subject><n.new_node
Macro
Requires: node_page
Parameters: do
.subject
Macro
Requires: node
/></subject>
                <text_part>
                    <n.new_node
Macro
Requires: node_page
Parameters: do
.text_email_message_with_signature
Macro
Requires: node
 />
                    --
                    Sent from: <n.mailing_list_node
Binary
Namespace: MailingListNamespace
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, index_record
/>
                </text_part>
                <html_part>
                    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.either
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
 condition1="[n.plain_text_only
Binary
Namespace: MailingListNamespace
/]" condition2="[n.new_node
Macro
Requires: node_page
Parameters: do
.message
Binary
Namespace: NodeNamespace
Parameters: do
.is_text_format
Binary
Namespace: MessageNamespace
/]">
                        <then.null
Binary
Namespace: BasicNamespace
/>
                        <else>
                            <n.new_node
Macro
Requires: node_page
Parameters: do
.html_email_message_with_signature
Macro
Requires: node
 />
                            <br/><hr align="left" width="300" />
                            Sent from the <a href="[n.mailing_list_node
Binary
Namespace: MailingListNamespace
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, index_record
/]"><n.mailing_list_node
Binary
Namespace: MailingListNamespace
Parameters: do
.subject
Macro
Requires: node
/> mailing list archive</a> at Nabble.com.<br/>
                        </else>
                    </n.if.either>
                </html_part>
                <set_headers_for.new_node
Macro
Requires: node_page
Parameters: do
/>
            </n.send>
        </n.new_email.>
    </n.new_node.get_associated_mailing_list_archive.>
</macro>