cancel
Showing results for 
Search instead for 
Did you mean: 

Open Outlook

Former Member
0 Kudos

Hi All

I would like to open a MS Outlook - New Mail Message when I click on Link(Username).

In the To field it should disply the UserName on which I've clicked along wiht the domain.

If Username is Jhansi and

Domain is: yahoo.com then in the To field it should contain

eg: jhansi@yahoo.com

If i send any message then it should send the message from my corporate account.

Jhansi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try putting this in your context variable:

mailto:<userid>@<domain>.com

Regards,

Subramanian V.

Answers (2)

Answers (2)

Former Member
0 Kudos

But if you want to that user's mail is dynamic. How can you implement it?

Former Member
0 Kudos

Hi,

insert a LinkToURL UI Element in your view and create a context attribute "linkValue" of type string. In your implementation place the follwing code:


String s = 
	"mailto:user@domain.com?" +
	"subject=Test%20Mail&" +
	"body=This%20is%20a%20test%20mail.";

wdContext.currentContextElement().setLinkValue(s);

Regards

Sebastian