right-click an email address and copy the link, you get javascript:void(0) instead of the actual email

Dear SugarCRM Support,

I am experiencing an issue in SugarCRM version 14 when trying to copy email addresses. When I right-click an email address and select "Copy link address", instead of getting the actual email, I receive javascript:void(0).

Is this expected behavior, or is there a way to copy email addresses directly? If there is a workaround or a setting to change this behavior, I would appreciate your guidance.

Thank you in advance for your support!

Best regards,

  • Hi  

    Thank you for reaching out.

    This behavior is expected and is a long-standing technique used to prevent direct clicks from following the URL.

    If you have a development background, you can extend the emails field and update the template accordingly. Additionally, you will need to modify the controller to handle the click event and adjust the behavior.

    Alternatively, you can submit an Enhancement Request through our support agents if you’d like to see this functionality improved.

    Thanks!
    Tevfik Tümer
    Sr. Developer Support Engineer 

  • Hi  ,

    There is a bug (95334) that the email address right-click menu does not show the expected 'Copy Email Address' option. For Mac users, there is still a 'Copy' option available but for Windows users, they do not have any option. I recommend filing a case with Sugar Support requesting them to link your case to the bug. Being unable to easily copy the email address is an inconvenience for some of our clients, but as of right now, not many customers appear to have reported this issue. 

    Chris