bug to send email from recruitment module

Bug #1284138 reported by LE CORRE
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Undecided
Unassigned

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;<email address hidden>&gt" so i understand the error , but if i look in openerp the email address of the applicant is like this "eric le corre <email address hidden>", so it is good

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

SMTPRecipientsRefused : {' &lt;<email address hidden>&gt ; ' : (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 : {' &lt;<email address hidden>&gt ; ' : (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

Revision history for this message
LE CORRE (eric-le-corre-a) wrote :

sorry this is error in copy log, see attachment log

Revision history for this message
LE CORRE (eric-le-corre-a) wrote :

another thing, i use model to send email, and in recipient , i use : ${object.email_from}

description: updated
Revision history for this message
LE CORRE (eric-le-corre-a) wrote :

i need help !

thanks

Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Parth Patel (parth.patel-openerp) wrote :

HI,

I have faced the same error at my end.
When my Emil is like in this way <email address hidden> at the time it will failed to send a mail .
so I think OpenERP can no longer interpret the email addresses including the <> characters for example - <email address hidden> .

I have also noticed that when send a Emil at the time in OpenERP will try to send mail to this email address '&lt;<email address hidden>&gt; and then it will failed to send a mail and it's give the above trace back.

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.