cancel
Showing results for 
Search instead for 
Did you mean: 

Open Outlook New Email window from WebDynpro

anand_nidamanuru
Active Participant
0 Kudos

Hi All,

Is there a way to open an outlook window from webdynpro apart from using <Mailto:> URLs.

The Mailto URLs doesn't hold good for our requirement as it has URL Length limitation (2083 characters).

OLE seems to be not working with Webdynpro. It requires SAP GUI.

So please let me know if there is any other way. It is an urgent requirement and any help in this regard is highly helpful.

Thanks,

Anand

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi!

Why do you have problems with the 2083 character limitation of URL names?

The following URL has a length of 278 characters:

mailto:this-is-a-very-very-long-email-address@very-very-very-very-long-domain-name.com?subject=very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-subject

If you want to send long mails with subject and body and so on an alternative may be for you not directly to start outlook, but giving the user a form where he can edit a long email and if he/she presses the send button, this email goes through the SAP WebAS ABAP to the Mail Server of the company. The so-called SMTP-Plug-In in SAP WebAS ABAP enables you to send (and receive) mails from an SAP ABAP system to the company's email server and vice versa.

May this be a solution for your problem?

Regards,

Volker

anand_nidamanuru
Active Participant
0 Kudos

Hi Volker,

I am currently doing the same way, using my own email window and sending mails using SAP Office integration functions.

But if there is any way I can open outlook from webdynpro it will be great.

Thanks,

Anand

Former Member
0 Kudos

Hi Anand!

As far as I know the only easy way to achieve this is a mailto: URL.

But did you already visit the Microsoft Knowledgebase? Maybe MS Outlook has - similar to MS Word - a set of APIs you can use to communicate with MS Outlook using ActiveX. But then you are outside the WebDynpro and inside the BSP world where you can do what you want including generating Javascript code and sending to the client for execution.

Regards,

Volker