'Find and redirect to appropriate email client based on email address
I want to add a confirm email address link similar to what trello does. Based on which email client you use I want to redirect user to appropriate url.
For example:
If a user has [email protected] then the link should open mail.google.com. If the User has [email protected] it should open outlook's link.
Moreover, if an user has their company's email address and they uses gmail as their email client, I want to find their email client and try to redirect there. This could reduce the friction where user need to manually navigate to their email client to check and confirm their email.
Is there any simpler way we could achieve this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|