cancel
Showing results for 
Search instead for 
Did you mean: 

Opening new email window when email link is clicked

Amey-Mogare
Contributor
0 Kudos

Hi,

I have a requirement where there will be a email id displayed on view.

This email id should have a hyperlink and click on which, should open a new mail window of MS Outlook with the same email id in 'TO' section.

Any idea how to achieve this?

Please help.

Thanks and regards,

Amey

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

This can be achieved using a LinkToUrl UI element in the view.

Open the properties of the LinkToUrl UI element. In the Text field, provide the email id that you will like to show on the screen.. say abc[AtTheRate]domain.com. If the email id is fetched at runtime, you can bind this to a context attribute as well. The context attribute will then hold the value like abc[AtTheRate]domain.com.

Then in the Reference field, we need to provide the string prefixing a "mailto:" to the email id. For example :

mailto:abc[AtTheRate]domail.com

If the value changes at runtime, then map the Reference field to a context attribute. This context attribute should contain a string like - mailto:abc[AtTheRate]domail.com

At runtime, when you click on the link... outlook compose mail window will be launched with abc[AtTheRate]domain.com in the To Address Field.

Make sure that Outlook is the default Mail Exchange Tool in the system.

PS : [AtTheRate] stands for @

Regards,

Sayan Ghosh

Edited by: sayan ghosh on Mar 29, 2011 1:47 PM

Amey-Mogare
Contributor
0 Kudos

Thank you Sayan!

It worked.

Regards,

Amey

Answers (0)