Skip to Content
Menú
This question has been flagged
2 Respostes
3905 Vistes

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@voila.fr&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@voila.fr", so it is good

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

SMTPRecipientsRefused : {' <eric.le.corre@voila.fr&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 : {' <eric.le.corre@voila.fr&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

Avatar
Descartar
Best Answer

Remove the name in the email address, you should have something as user@domain.com. Remove "<" and ">" characters.

Avatar
Descartar
Autor Best Answer

i understand the error is because of"<" ">", but the email is integrated like this by openerp automatically. It is not because my fault.

Avatar
Descartar