[USB] renamed e-mail to email *.py
bzr revid: jam@tinyerp.com-20120625123206-2nwfjc9mpbuk4mn1
This commit is contained in:
@@ -396,7 +396,7 @@ class ir_mail_server(osv.osv):
|
||||
MailDeliveryException and logs root cause.
|
||||
"""
|
||||
smtp_from = message['Return-Path'] or message['From']
|
||||
assert smtp_from, "The Return-Path or From header is required for any outbound e-mail"
|
||||
assert smtp_from, "The Return-Path or From header is required for any outbound email
|
||||
|
||||
# The email's "Envelope From" (Return-Path), and all recipient addresses must only contain ASCII characters.
|
||||
from_rfc2822 = extract_rfc2822_addresses(smtp_from)
|
||||
|
||||
Reference in New Issue
Block a user