Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: global name 'email' is not defined #351

Open
OdreyPapin opened this issue May 23, 2017 · 1 comment
Open

NameError: global name 'email' is not defined #351

OdreyPapin opened this issue May 23, 2017 · 1 comment

Comments

@OdreyPapin
Copy link

Hello, how i can fix this issue ?


2017-05-23 09:46:46,383 548 ERROR XXXXX odoo.addons.mail.models.mail_mail: failed sending mail (id: 642) due to global name 'email' is not defined
Traceback (most recent call last):
  File "/odoo/odoo-server/addons/mail/models/mail_mail.py", line 277, in send
    res = IrMailServer.send_email(msg, mail_server_id=mail.mail_server_id.id)
  File "/odoo/custom/addons/tko_mail_smtp_per_user/models/mail_mail.py", line 26, in send_email
    from_rfc2822 = extract_rfc2822_addresses(message['From'])[-1]
`NameError: global name 'email' is not defined`
@cmsalmeida
Copy link
Member

Hi,
Thank you for your issue.
Can you give us more info about that error?
Have you tried to update the module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants