Just wondering if it is at all possible in classic ASP/VBScript to launch a new window of the default mail client.
I have tried the following:
set objOutlk = createobject("Outlook.Application")
set objMail = objOutlk.createitem(olMailItem)
But got nothing but an error: ActiveX cannot create object: Outlook.Application.
Any advice is much appreciated.
Rob.
If you want to provide a simple way to open the default mail client message of a user viewing your (asp) page just add a
mailto:hyperlink:The
mailto:will trigger the browser to open the default (or configured) mail client.You can append a query string defining the subject line and the mail body – in my example the subject is “Hello World” and the body text is “Hi there”.
Notice the blanks are url-encoded to
%20