You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
878 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2019 Tecnativa - Jairo Llopis
  3. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
  4. <data noupdate="1">
  5. <record id="mail_template_welcome" model="mail.template">
  6. <field name="name">Welcome mail to newsletter subscribers</field>
  7. <field name="model_id" ref="mass_mailing.model_mail_mass_mailing_contact"/>
  8. <field name="use_default_to" eval="True"/>
  9. <field name="lang">${ctx.get("lang")}</field>
  10. <field name="subject">Welcome to the mailing list ${ctx.get("list_name")}</field>
  11. <field name="body_html" type="html">
  12. <div>Dear <b>${object.name or object.email}</b>,
  13. <br/>
  14. <h3>Thanks for signing up for our newsletter!</h3>
  15. <p>Regards,</p>
  16. </div>
  17. </field>
  18. </record>
  19. </data>