Link to home
Start Free TrialLog in
Avatar of Olleco
OllecoFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Opening Outlook client from web based app in VB.net

Hi

I am trying to open the default mail app (Outlook in my case) on the client side from a web based application written in vb.net.

In the local application it works fine using for a basic example:
Import System.Diagnostics
Process.Start("mailto:somebody@domain.com")

Open in new window


However, the web application appears to be trying to run on the server side rather than the client side. Does anyone know a way around this to allow it to open the mail app for a user?

Note: I am able to send emails automatically via the SMTP server but I would like the user to see the contents first so would like to open in an email client.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Process.Start("mailto:somebody@domain.com")  <<-- this will start on the  machine it is run from (webserver)

what you want is something along the lines of

window.open('mailto:test@example.com?subject=subject&body=body');

Open in new window