← Back to team overview

openerp-india team mailing list archive

[Bug 1284138] [NEW] bug to send email from recruitment module

 

Public bug reported:

Hello and sorry for my english,

I use the recruitment module to send emails to applicant from OpenERP v
7 .

When an applicant is applying for employment , it can do from our
website and an email is automatically sent to openerp where a record is
created automatically for the candidate retrieving their email address
and name

All this works great !

Previously, I send email to candidiat from openerp and it worked but
recently when I want to send an email , the email does not go  and I
receive an error message in the logs very explicit .

This error is that the Recipient address is not fully-qualified address
. For example here , openerp try to send to
"<eric.le.corre@xxxxxxxx&gt" so i understand the error , but if i
look in openerp the email address of the applicant  is like this "eric
le corre <eric.le.corre@xxxxxxxx>", so it is good

I feel that OpenERP can no longer interpret the email addresses
including the <> characters for example.

SMTPRecipientsRefused : {' <eric.le.corre@xxxxxxxx> ; ' : (504 , '5 .5.2 <<> : Recipient address rejected : need fully-qualified address ')}
Traceback ( most recent call last ) :
  File " / opt/openerp/v7/server/openerp/addons/base/ir/ir_mail_server.py " , line 463, in send_email
    smtp.sendmail ( SMTP_From , smtp_to_list , message.as_string ())
  File " / usr/lib/python2.7/smtplib.py " , line 733, in sendmail
    raise SMTPRecipientsRefused ( senderrs )
SMTPRecipientsRefused : {' <eric.le.corre@xxxxxxxx> ; ' : (504 , '5 .5.2 <<> : Recipient address rejected : need fully-qualified address ')}
2014-02-24 13:50:23,064 ERROR 1090 brestaim openerp.addons.mail.mail_mail : failed sending mail.mail 199
Traceback ( most recent call last ) :
  File " / opt/openerp/v7/addons/mail/mail_mail.py " , line 310, in send
    mail_server_id = mail.mail_server_id.id , context = context)
  File " / opt/openerp/v7/server/openerp/addons/base/ir/ir_mail_server.py " , line 476, in send_email
    raise MailDeliveryException ( _ (" Mail delivery failed" ) , msg )
MailDeliveryException : (u "\ xc9chec sending email " , u " \ xc9chec sending the email via SMTP server .4.0.13 '10 '\ nSMTPRecipientsRefused . { ' < @ Eric.le.corre veiled . en> ; ' : (504 , '5 .5.2 <<> : Recipient address rejected : need fully-qualified address' ) } " )

thanks

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1284138

Title:
  bug to send email from recruitment module

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello and sorry for my english,

  I use the recruitment module to send emails to applicant from OpenERP
  v 7 .

  When an applicant is applying for employment , it can do from our
  website and an email is automatically sent to openerp where a record
  is created automatically for the candidate retrieving their email
  address and name

  All this works great !

  Previously, I send email to candidiat from openerp and it worked but
  recently when I want to send an email , the email does not go  and I
  receive an error message in the logs very explicit .

  This error is that the Recipient address is not fully-qualified
  address . For example here , openerp try to send to
  "&lt;eric.le.corre@xxxxxxxx&gt" so i understand the error , but if i
  look in openerp the email address of the applicant  is like this "eric
  le corre <eric.le.corre@xxxxxxxx>", so it is good

  I feel that OpenERP can no longer interpret the email addresses
  including the <> characters for example.

  SMTPRecipientsRefused : {' <eric.le.corre@xxxxxxxx> ; ' : (504 , '5 .5.2 <<> : Recipient address rejected : need fully-qualified address ')}
  Traceback ( most recent call last ) :
    File " / opt/openerp/v7/server/openerp/addons/base/ir/ir_mail_server.py " , line 463, in send_email
      smtp.sendmail ( SMTP_From , smtp_to_list , message.as_string ())
    File " / usr/lib/python2.7/smtplib.py " , line 733, in sendmail
      raise SMTPRecipientsRefused ( senderrs )
  SMTPRecipientsRefused : {' <eric.le.corre@xxxxxxxx> ; ' : (504 , '5 .5.2 <<> : Recipient address rejected : need fully-qualified address ')}
  2014-02-24 13:50:23,064 ERROR 1090 brestaim openerp.addons.mail.mail_mail : failed sending mail.mail 199
  Traceback ( most recent call last ) :
    File " / opt/openerp/v7/addons/mail/mail_mail.py " , line 310, in send
      mail_server_id = mail.mail_server_id.id , context = context)
    File " / opt/openerp/v7/server/openerp/addons/base/ir/ir_mail_server.py " , line 476, in send_email
      raise MailDeliveryException ( _ (" Mail delivery failed" ) , msg )
  MailDeliveryException : (u "\ xc9chec sending email " , u " \ xc9chec sending the email via SMTP server .4.0.13 '10 '\ nSMTPRecipientsRefused . { ' < @ Eric.le.corre veiled . en> ; ' : (504 , '5 .5.2 <<> : Recipient address rejected : need fully-qualified address' ) } " )

  thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1284138/+subscriptions


Follow ups

References