I tested the following use-case: single imap folder contains mail sent to and received from customers.
Did the following configuration;
- Created an incoming server document, with all the usual options
- Linked two folder configurations to this document:
1. - Folder 'Klanten' (customers)
- match algorithm: Exact mailaddress
- Model 'relatieadressen' (res.partner.address)
- Field (emal): from
- Field (model): email
- Message state: Received
- Domain: [('partner_id.customer', '=', True)]
- Delete matches: False
- Flag nonmatching: True
- Use first match: True
2. The same as 1., except for the following:
- Field (email): to, cc, bcc
- Message state: Sent
I then used my mail client to send a mail wit an attachment (here our offer....) to a test customer-email. Then I used the test customer email account to sent back a reply, (I agree to the offer, find enclosed...), with another attachment.
Then I placed both the e-mail sent, and the reply received in the folder Klanten (customers) and ran the receive mail action in the incoming mail server document.
Outcome was as expected:
- I could find both mails, with the right status, on the tab 'Email' within the partner record
- I could see and open both the outgoing and the incoming attachment from within OpenERP.
Approve.
I tested the following use-case: single imap folder contains mail sent to and received from customers.
Did the following configuration;
- Created an incoming server document, with all the usual options
- Linked two folder configurations to this document:
1. - Folder 'Klanten' (customers) address) id.customer' , '=', True)]
- match algorithm: Exact mailaddress
- Model 'relatieadressen' (res.partner.
- Field (emal): from
- Field (model): email
- Message state: Received
- Domain: [('partner_
- Delete matches: False
- Flag nonmatching: True
- Use first match: True
2. The same as 1., except for the following:
- Field (email): to, cc, bcc
- Message state: Sent
I then used my mail client to send a mail wit an attachment (here our offer....) to a test customer-email. Then I used the test customer email account to sent back a reply, (I agree to the offer, find enclosed...), with another attachment.
Then I placed both the e-mail sent, and the reply received in the folder Klanten (customers) and ran the receive mail action in the incoming mail server document.
Outcome was as expected:
- I could find both mails, with the right status, on the tab 'Email' within the partner record
- I could see and open both the outgoing and the incoming attachment from within OpenERP.
Kind regards,
Ronald