Author: BartVeste | Posted on: 10/29/2008 4:23:49 AM | Views : 303

Hi everybody,

I made an webbased form that opens a MS outlook email message and fills the to, subject and body. The body is HTML.

When I click the link on my develop machine, everything works fine. The message opens and all the fields are filled. But when I execute it form the server, it opens MS Outlook on the server, and not on the client.

A mail with "mailto:" is not a option, because I need a HTMl body.

 This is the script I use:

        Dim objOutlook As Outlook.Application
        Dim objOutlookMsg As Outlook.MailItem
        Dim body As String = ""    

        objOutlook = CreateObject("Outlook.Application")
        objOutlookMsg = objOutlook.CreateItem(OlItemType.olMailItem)
& ...

Go to the complete details ...