|
-
Feb 5th, 2003, 11:59 AM
#1
Thread Starter
Hyperactive Member
Open Email App from mine. *[RESOLVED]*
I want to open the users default email app with the recipients name and the subject ready for them to fill in the message and then send, by clicking a picture box. How?
Any help would be appreciated
Last edited by RealNickyDude; Feb 6th, 2003 at 07:34 AM.
-
Feb 5th, 2003, 03:17 PM
#2
Member
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
#End Region
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim tx_Email As String
tx_Email = "[email protected]"
System.Diagnostics.Process.Start("mailto:[email protected]?subject=Hi!")
End Sub
End Class
-
Feb 5th, 2003, 03:19 PM
#3
Thread Starter
Hyperactive Member
I found this, but it just sends an email, I want to launch the default email app.
First , add a ref "web.dll" then everything should works fine.
VB Code:
Imports System.Web.Mail
Dim m As New System.Web.Mail.MailMessage()
With m
.To = "myself$my.house"
.Subject = "My SMTP Test"
.Body = "My New Message"
End With
SmtpMail.SmtpServer = "MyServerName"
SmtpMail.Send(m)
-
Feb 5th, 2003, 03:31 PM
#4
Thread Starter
Hyperactive Member
Ah, crossed posts! thanks Iouri, i've whittled it down to just:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|