changes
This commit is contained in:
@@ -15,12 +15,23 @@
|
||||
-->
|
||||
<odoo noupdate="1">
|
||||
|
||||
<!-- ===== Mail template ============================================ -->
|
||||
<!-- ===== Mail template ============================================
|
||||
email_from is computed at send time (see _fp_resolve_from_header
|
||||
on res.users) so it ALWAYS matches the active mail server's
|
||||
from_filter — eliminates the "No mail server matches the
|
||||
from_filter" warning and the DMARC misalignment that warning
|
||||
signals. Without this alignment, M365 (nexasystems.ca's host)
|
||||
greylists cross-provider mail with mismatched From for 5–15 min
|
||||
before delivering. Subject dropped the 🔒 emoji — emojis in
|
||||
subject lines bump M365 spam scoring and slow delivery on
|
||||
cross-provider mail.
|
||||
-->
|
||||
<record id="fp_mail_template_tablet_pin_reset" model="mail.template">
|
||||
<field name="name">FP: Tablet PIN Reset Code</field>
|
||||
<field name="model_id" ref="base.model_res_users"/>
|
||||
<field name="subject">🔒 Your ENTECH tablet temporary PIN: {{ ctx.get('code', '----') }}</field>
|
||||
<field name="email_from">{{ (object.company_id.email or user.email) }}</field>
|
||||
<field name="subject">Your ENTECH tablet temporary PIN: {{ ctx.get('code', '----') }}</field>
|
||||
<field name="email_from">{{ object._fp_resolve_from_header() }}</field>
|
||||
<field name="reply_to">{{ object._fp_resolve_from_header() }}</field>
|
||||
<field name="email_to">{{ object.email or object.login }}</field>
|
||||
<field name="auto_delete" eval="True"/>
|
||||
<field name="body_html" type="html">
|
||||
|
||||
Reference in New Issue
Block a user