Skip to Content
Menu
This question has been flagged
2 Replies
7745 Views

Can OpenERP 7 check an imap mail server for more than one email address?

I have 2 users, John and Jill. They each have a separate email address: john@examplecompany.com and jill@examplecompany.com. Is it possible to configure OpenERP so that both of these users get emails sent to their individual addresses in their OpenERP inbox?

If so, how?

Avatar
Discard
Best Answer

Yes, its possible with OpenERP. You need to configure Incoming Mail Servers for both users from Settings --> Emails --> Incoming Mail Server. After creating, Click on Test & Confirm button to make sure that incoming server for both users are well-configured. If everything seems ok, Click on Fetch Now button from both records. Optional, There is also a scheduler for fetchmail process which will trigger after every 5 minutes. Hope, this will help you.

Thanks, Priyesh Solanki

Avatar
Discard

We also have a new feature which is working on the base of alias. While creating OpenERP users, it will automatically create alias for particular user. Condition is that Alias must be Virtual email address with domain of openerp instance like john@examplecompany.openerp.com, jill@examplecompany.openerp.com. Now, if one will send email on this alias address of John/Jill, They both will be able to see the message in OpenERP Inbox related to them after login.

Thanks, Priyesh Solanki

Author

Ah, thanks Priyesh. I don't know what I was thinking to miss that you could just 'create' another inbound mail server. As for the alias configuration, I still don't understand how that works exactly. Does it function like an email address within OpenERP without actually having requiring an email account to be set up on a mail server?

OpenERP 7.0 deploys a new concept called email aliases. The email alias can be given to a user and any OpenERP object. Thus, incoming emails can be integrated automatically in OpenERP. You do not need to configure several email gateways anymore. Each document may have aliases defined for it. These email aliases are based on a given mail alias model. As an example, an incoming mail about an issue can be used to generate a new issue entry in the CRM App.

Make sure not to forget to specify the domain alias in the Settings/Configuration/General Settings menu, section “Email” for this feature.

Author

I understand the concept that if an email is addressed to sales@examplecompany.com, OpenERP can be configured to create a lead in the CRM app and that users in the sales department can receive that lead and that this can be done somehow using aliases. I just can't figure out how to actually do that in Settings/Technical Settings/Email/Aliases. It would be great if someone could describe a step by step process. I'm sure many would benefit. And yes, I set the domain alias to "examplecompany.com". I presume it's not necessary to insert 'openerp' as you did, though tell me if I'm wrong.

No, it's not necessary to insert 'openerp' as i have did before, it was just for example. I meant that you need to set that domain on which instance of Openerp server is running at your end. For ex, If you go to the browser, write in url like examplecompany.com and it triggers to the OpenERP Login page, so in this case, your alias will be set as examplecompany.com. Hope this will help you.

Author

ah, I see. So if I need to type "10.1.1.100:8066" into the browser address bar to get to the login page (were just running on a LAN at this stage), then I should enter "10.1.1.100:8066" in the domain alias field on the General Settings page? Or is it not necessary to enter the port number, just "10.1.1.100" would do?

Best Answer

Hello Bill,

IMHO, the best way to achieve your original need is :

  1. setup a catch-all address at your mail provider.
  2. don't have to set up any "Actions to Perform on Incoming Mails"; neither "Create a New Record " nor "Server Action".
  3. be sure your Alias Domain is set properly (in Settings\Configuration\General settings).
  4. configure the "Fetchmail Service" to be active and ran regularly
  5. set all your user's alias for it to match the mail address

The reason why you don't want to set up an incoming mail server per user is obvious :

  • what about you have hundreds users ?
  • you don't want the administrator to have to change the OpenERP configuration each time the mailbox password change.

My 2cents, Marc.

PS: please vote if you find this answer useful.

Avatar
Discard
Author

Hi Marc, Thanks for the answer but I think you missed the point of the question. The original need was to have two different users (Jack and Jill) exclusively receive emails sent specifically to them. Your solution would have both Jack and Jill receiving all emails sent to the catch-all address. In the absence of any useful tutorial on how to setup mail aliases I can only conclude that separate incoming mail servers per user is the only way to do it.

Related Posts Replies Views Activity
1
Mar 15
3598
1
Mar 15
10653
7
Apr 24
45095
6
Jul 23
25750
3
Aug 24
20411