Recipient email is not properly stored when copy to CRM case

Bug #856123 reported by Eric Caudal - www.elico-corp.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Opinion
Undecided
Unassigned

Bug Description

when a mail is sent from outside OpenERP to a customer (<email address hidden> in 'to' field) and copied to a mail that is to be fetched into OpenERP (through a imap mail server), the CRM created case in OE is created properly but in the communication history inside CRM case, the field 'to' is empty.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Eric Caudal,

I have checked your issue with latest updated code with trunk but I didn't face any problem at my end.

I have attached video for your reference so would you please check it and informed us where you faced the problem and provide

your end configuration with proper steps.

Thanks and waiting for your reply.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Eric Caudal - www.elico-corp.com (elicoidal) wrote : Re: [Bug 856123] Re: Recipient email is not properly stored when copy to CRM case

Hi Vishal Parmal,
In your test it seems that you send directly a mail to OpenERP mail
account. On my side, in this case it works as well.

Nevertheless when I send as cc the mail address in OpenERP (in my
example <email address hidden> is the mail in OpenERP for which I do
fetch), the field 'to' is not properly filed (check screenshot: 'to'
field should be <email address hidden>)

I hope this is more clear

*Eric CAUDAL*
<email address hidden> <mailto:<email address hidden>>
Cell: + 86 186 2136 1670
*Elico Corp - OpenERP Ready Partner, Shanghai.*
http://www.openerp.net.cn

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Eric Caudal,

I have applied same scenario as you provide in last comment but still it is working fine at my end.

You can see attached screenshot. Would you please try with updated code.

Thanks and waiting for your reply.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
Revision history for this message
Ian Li (ian.li) wrote :

Hi Vishal Parmar,

I think this problem is caused by different MTA/MUA of the sending side: some will use "To" header instead of "Delivered-To", and "Cc" instead of "CC", while the later two is used as key in addons/mail_gateway/mail_gateway.py. So when these situation happens, openerp-server will not save the corresponding header information in database.

But I don't know which is more standard-complied, maybe we need to do more test on mail header?

Regards,
Ian

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Eric Caudal,

I have checked your issue in trunk and to filed is properly filled at my end, see the screenshot of comment #6.
As per comment #3 let me explain :

From : <email address hidden>
To : <email address hidden>
Cc: <email address hidden>

For fetch mail you configure your company a/c ( username & password)in configuration so in "To" filed it should be you company mail address not "<email address hidden>" because it's your company mail a/c.

If you want " <email address hidden>" in " To" field then you must have to configure hotmail a/c(username & password of hotmail) in configuration.

Correct me If I am wrong.

Thanks and waiting for your reply.

Revision history for this message
Eric Caudal - www.elico-corp.com (elicoidal) wrote : Re: [Bug 856123] Re: Recipient email is not properly stored when copy to CRM case

Hi,
I am not sure I understand your point but I cannot create in advance an
email that I cannot read (since I donot see it in my openerp). In my
example I donot know "ecaudal" email.
Expected behavior is I receive the information and if it matches a
partner, then it gives the partner. If no partner is matched (new
partner) then it still should give the information.
OE is filtering out the important information and I loose it. In this
case I am sending myself a mail but when this is external people how can
I get the "to" field

openerp

*Eric CAUDAL*, CEO
<email address hidden> <mailto:<email address hidden>>
Cell: + 86 186 2136 1670
*Elico Corp - OpenERP Ready Partner, Shanghai.*
http://www.openerp.net.cn

On 18/11/2011 15:35, Vishal Parmar(Open ERP) wrote:
> Hello Eric Caudal,
>
> I have checked your issue in trunk and to filed is properly filled at my end, see the screenshot of comment #6.
> As per comment #3 let me explain :
>
> > From : <email address hidden>
> To : <email address hidden>
> Cc: <email address hidden>
>
> For fetch mail you configure your company a/c ( username& password)in
> configuration so in "To" filed it should be you company mail address
> not "<email address hidden>" because it's your company mail a/c.
>
> If you want " <email address hidden>" in " To" field then you must have
> to configure hotmail a/c(username& password of hotmail) in
> configuration.
>
> Correct me If I am wrong.
>
> Thanks and waiting for your reply.
>

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello,

Yes, I am agree with you regarding the "Cc" and "To" field.

For now It needed changes regarding the improvement what you suggested in bug specification.

currently I can consider this issue as opinion because this needs more clarification.

You can post this issue on feedback.openerp.com also, Our quality team members will definatly review this.

@Experts: Would you please provide us your precious inputs regarding this.

Thanks.

Changed in openobject-addons:
status: Incomplete → Opinion
Revision history for this message
Eric Caudal - www.elico-corp.com (elicoidal) wrote :

Hi Vishal,
Thanks for your feedback. My position is quite clear:
if I receive a mail in OE, all fields in OE should match original mail
fields
to, from and cc should match original mail fieldswhatever the mailbox
is present/created in OE.
I am a little bit surprise that you classify it as an opinion as it
seems to me rather common sense (and you agree on it)
I hope we can get a valuable input from experts.
Eric

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

Other bug subscribers

Remote bug watches

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