[USB] renamed e-mail to email *.py

bzr revid: jam@tinyerp.com-20120625123206-2nwfjc9mpbuk4mn1
This commit is contained in:
Jigar Amin - OpenERP 2012-06-25 18:02:06 +05:30
parent a139c6fc6c
commit abfa5612f5
1 changed files with 1 additions and 1 deletions

View File

@ -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)