cancel
Showing results for 
Search instead for 
Did you mean: 

Open a new outlook email with Abap Web Dynpro

rafamano17
Explorer
0 Kudos

Hi Experts,

I'm developing an abap web dynpro application, and at the end of a text I need to have a link that opens the outlook for sending and email, do you know how can this be done with ABap Web dynpro.

Regards and thanks.

Fona

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use linkToURL ui element with property "reference" having the value like "mailto:<mail-id>@domain.com".

Thanks,

aditya.

Answers (2)

Answers (2)

ChrisPaine
Active Contributor
0 Kudos

It should be noted that just relying on the browser handling for the [url mailto: reference|http://www.w3.org/TR/WD-html40-970708/htmlweb.html] does not guarantee handling by any specific email application. It is completely up to the browser implementation - The HTML 4.0 spec does not specify any handling other than:

MAILTO URLs have the following syntax:

mailto:email-address

User agents may support MAILTO URL extensions that are not yet Internet standards (e.g., appending subject information to a URL with the syntax "?Subject=my%20subject" where any space characters are replaced by "%20").

Then again - given that WDA supports so few browsers (user agents!), you could probably get around the different support in each them in a reasonably common way.

To ensure that it is MS Outlook you are launching and potentially pass more data into that email you'll need to make use of the [ACFExecute functionality|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/frameset.htm] and then also the [command-line interface of Outlook.|http://www.brighthub.com/office/collaboration/articles/21840.aspx]

rafamano17
Explorer
0 Kudos

Thanks for all of the answers.

I wish there was a way to give points to everyone, all your answers help me resolve my problems.

Thanks.

Fona.

former_member186020
Participant
0 Kudos

Hi,

Could anyone help me how to pass some data in the body of the mail. By passing the referrence attribute, am able to open the outlook, but I am not able to find how to send some data into the body part.

Regards,

Vishesh

Former Member
0 Kudos

can we send the same email to multiple recipients? if yes how?

can we add content in the body of the message? if yes how?

Madhu2004
Active Contributor
0 Kudos

Hi,

CReate a link to URL ui element. For the refernce property give it as ; mailto:email id

You can hard code some value , it will open default outlook new email template with the mail ID mentioned,

You can also supply this using context attribute. Prefix the mail id with "mailto:" key word.

Regards,

Madhu