Open client Outlook mail window with data in body

maddirala

Freshman
Joined
Oct 21, 2003
Messages
30
Hi

I want open a client mail outlook window with data on the web page when user clicks on email button so that he can change values and sent. how do i open a window with data. i am able to send email without opening window.

here is my code

Dim oMail As New MailMessage()
Dim sBody As String

oMail.To = AppSettings("email")
oMail.From = "no-reply@ark.com"
oMail.Subject = "Group Change Process"
oMail.BodyFormat = MailFormat.Html
' this is a function it returns me data of the webpage in HTML format
sBody = MailUtils.FormatMailBody()
'sBody = sBody + "PhysicalLocationStreetNumber: " + txtStreet.Text + "."


oMail.Body = sBody

If CStr(AppSettings("smtpServer")) <> "" Then
SmtpMail.SmtpServer = CStr(AppSettings("smtpServer"))
End If

Try

SmtpMail.Send(oMail)
Catch ex As Exception
End Try
thanks for any help
 
Back
Top