Announcement

Collapse
No announcement yet.

Make email links work with external email clients

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Make email links work with external email clients

    Right now, it seems that all email addresses are linked to the internal email client. Is there any way to change this so that I can use an external email client to compose new emails at all?

  • #2
    No,

    But you can change
    client/res/templates/fields/email/detail.tpl
    ​client/res/templates/fields/email/list.tpl

    Add mailto: {{value}} into href and remove data-action="mailTo"
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • #3
      Thanks yurikuzn, it would be cool if this was a setting though, rather than a non-upgrade-safe hack!

      Comment


      • #4
        I've been trying hours to implement the instruction of yurikuzn ..... it doesn't work ..... certainly my fault! Can anyone help further and describe exactly how to have to look the rows?

        Comment


        • #5
          Maybe it's cached? Did you try to clear cache?
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment


          • #6
            Yes, I did clear the cache. I think the problem is that I have a failure in the row or don't know exactly where I need to insert the "href" and where I should remove data-action="mailTo".

            Comment


            • #7
              I just solved the problem and it works excellent.

              Further/Another question: If I'm at the side "Email" and I push the button "Create", is there also a possibility to link to my external Outlook program?

              Comment


              • #8
                Is there a possibily to link direct to my Outlook, if I push the button to create a new Email?

                Comment


                • #9
                  application/Espo/Resources/metadata/clientDefs/Email.json

                  buttons
                  Compose

                  remove "action"
                  add
                  "link": "HERE_YOUR_LINK"
                  If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                  Comment


                  • #10
                    I did edit the Email.json-file, so that the reply-button linked direct to my Outlook. In order to that I have only one reply-button, I delete the row 7 in the file ("detail": "views/email/detail") and put the dropdown-menu manually ... see as follows:
                    "detail": {
                    "dropdown": [
                    {
                    "label": "Reply",
                    "link": "mailto:",
                    "acl": "read"
                    },
                    {
                    "label": "Create Lead",
                    "action": "createLead",
                    "acl": "create"
                    },
                    {
                    "label": "Create Task",
                    "action": "createTask",
                    "acl": "create"
                    },
                    {
                    "label": "Create Case",
                    "action": "createCase",
                    "acl": "create"
                    }

                    ],
                    "buttons": [
                    {
                    "label": "Reply",
                    "link": "mailto:",
                    "style": "danger",
                    "acl": "read"
                    }
                    ]

                    If I let be the line 7 (see above), I have the button and the lines in the dropdown menu double and every link works how it should. If I delete the line 7, I can choose the task (Create Lead, Create Task and Create Case), but it doesn't work! I have no more ideas .... can anybody help me? Thanks in advance!

                    Comment


                    • #11
                      It would be great if this was an option in preferences!

                      Comment


                      • #12
                        I'm also looking for this option, thanks!

                        Comment


                        • #13
                          Likewise, it's cool to hack the code as described but it's less cool to have to re-do the hack when a particular file is changed on upgrade...

                          Perhaps this would be a good addition to user preferences?

                          Comment


                          • #14
                            I'm sure I found this in the preferences before - but not I can't is this still a manual change?

                            Comment


                            • #15
                              I found an option in user preferences but feel this really needs to be a global setting - a company either uses EspoCRM Email or not... Certainly all of our users will use native operating system email clients..

                              Comment

                              Working...
                              X