Email

trytond.tools.email_.set_from_header(message, sender, from\_)

Fill email headers to appear at best from the address.

trytond.tools.email_.has_rcpt(message)

Return if the Message has any recipient.

trytond.tools.email_.format_address(email[, name])

Return a string suitable for an RFC 2822 From, To or Cc header.

trytond.tools.email_.validate_email(email)

Validate the email address.

trytond.tools.email_.normalize_email(email)

Return the email address normalized.

convert_ascii_email(email):

Return the equivalent email address in ASCII.