Odoo Help

1

3
9 Answers
7
Taher Giyori
12/5/16, 8:27 AM

How Alias works?

Any mail sent to your domain, that doesn't have a defined mailbox, will be sent to your catchall email. Applications fetch the mails and divert them to corresponding virtual mail address (alias)

Make sure you set your created mailbox as the catch-all.


How to setup?

After configuring both the mail servers (Incoming/Outgoing), head to Users and assign the user an alias.


Enter these details in the Alias form:

Namealias@domain.com
Aliased ModelUsers
Record Thread ID(ID of the user you wish to assign this alias to)
Default Values{} (default)
Alias Contact SecurityEveryone (default)
OwnerAdministrator
Parent ModelUsers
Parent Record Thread ID(same as Record Thread ID)

(To confirm if the link has been set-up correctly, (in v9 and up) after saving the alias record, on clicking the link on top "Open Parent Document" should open the corresponding User record)

Thats it. You should receive the mails in the desired user account.

3 Comments
COPAGEX, PASCAL GOUHIER
1/29/17, 6:38 PM

Thank you for this usefull answer 👌🏻

Taher Giyori
2/7/17, 10:24 AM

You're welcome!

GrayHats S.L, Saúl Cejudo
6/20/17, 4:14 PM

thank you very much ! but why don't appear the button reply to ???????

1
Stephan Becker
7/14/18, 11:44 AM

The above solution did not work for me in my oddo11 vanilla installaiton.
Problem was that incomming emails for my two users where not routed to the odoo inbox at all.
Now I found an aliase configuration that worked.

info            Lead/Opportunity    John Doe           {'type': 'lead', 'team_id': 4}                 Everyone
sales           Lead/Opportunity                              {'type': 'opportunity', 'team_id': 1}    Everyone
discover     Task                                                      {'project_id': 1}                                     Everyone
admin        Users                        Administrator   {'user_id':1}                                           Everyone
john            Users                       John Doe            {'user_id':5}                                           Everyone


What did the trick was using alias model 'Users' and {'user_id':5} as Default Value along with the correct user_id of the user.

Same with incoming mails for leads.

Using the alias model 'eMail Thread' (it was suggested somewhere else) just ignored the mail completely.
It was marked as read in the imap folder but did not appear at all in odoos message list.

Though the above solved my actual problem and may proove helpfull for others, my main question still remains:
Where can I find a usefull documentation how these alias models are configured correctly and what they do if done so...

Cheers
Stephan

0
Abdalla Mohamed
5/28/18, 7:00 PM
@Taher Giyori

Thanks in advance, I test it in odoo 11 but I think odoo change workflow because I cannot find any message in discuss although when activating developer mode and go to Settings / Technical / Email / Messages found it and if activate outgoing mail server, odoo send email to the user again in his own mail 
0

where is this  Record Thread ID and  Parent Record Thread ID in each user?

0
john doe
2/15/17, 3:44 AM

Example for odoo 8

When you activate in settings>configuration>project an option to "create issues from an incoming email account" (also you need an email account configured in setting>technical>email>incoming mail server) you will have an alias option for projects and users. Just cpecify new alias in user or project settings and odoo will automatically create it in settings>technical>email>aliases.

If you can't setup catchall mailbox, you may leave default value for settings>configuration>general>email>alias domain. When somebody would write a letter for user or project with virtual email (alias), it doesn't matter which mail server may be specified. Just specify two recipients 1)odoo incoming mailbox, 2)  user_alias@anymailbox.com. Odoo will recieve email, and if it see in recipients user_alias, it will redirect it to user's "messaging>inbox". Same for project alias.

Ask a Question
Writer
Keep Informed
5 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now