-
Problem while sending email page please help
hey i've sending email page project
i need to send email from that page to freebsdx@hotmail.com and that msg reach my inbox in the hotmail here is my code
Private Sub ToolBar2_ButtonClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs)
Try
Dim from As String = textBox1.Text
Dim [to] As String = textBox2.Text
Dim subject As String = textBox3.Text
Dim body As String = textBox4.Text
SmtpMail.SmtpServer = ""
SmtpMail.Send(from, [to], subject, body)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub
---------------
can anybody tel me what dd i missed and what my smtp server should be..
Thanks alot in adavnce
Similar Threads
-
By sunilbenjamin in forum ASP.NET
Replies: 4
Last Post: 06-24-2005, 01:40 AM
-
By George Ceaser in forum ASP.NET
Replies: 0
Last Post: 10-25-2002, 10:03 AM
-
By Scott in forum Enterprise
Replies: 0
Last Post: 12-11-2001, 09:59 AM
-
Replies: 1
Last Post: 06-15-2001, 11:49 AM
-
By Phong Tran in forum XML
Replies: 0
Last Post: 01-22-2001, 03:59 PM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks