2021-09-26 23:11:21 +02:00
|
|
|
.. _ref-tools-email_:
|
|
|
|
|
.. module:: trytond.tools.email_
|
|
|
|
|
|
|
|
|
|
Email
|
|
|
|
|
=====
|
|
|
|
|
|
2022-04-30 22:57:33 +02:00
|
|
|
.. function:: set_from_header(message, sender, from\_)
|
2021-09-26 23:11:21 +02:00
|
|
|
|
2022-03-27 16:06:09 +02:00
|
|
|
Fill email headers to appear at best from the address.
|
2023-04-29 18:52:40 +02:00
|
|
|
|
|
|
|
|
.. function:: validate_email(email)
|
|
|
|
|
|
|
|
|
|
Validate the email address.
|
|
|
|
|
|
|
|
|
|
.. function:: normalize_email(email)
|
|
|
|
|
|
|
|
|
|
Return the email address normalized.
|
|
|
|
|
|
|
|
|
|
.. function:: convert_ascii_email(email):
|
|
|
|
|
|
|
|
|
|
Return the equivalent email address in ASCII.
|