vivekanandaan
0
Light Poster
Recommended Answers
Jump to PostOk But never ask for code again. Please ..
I give u the code because i have it now opened.
Post ur problem and we will solve this.
Public Class smail ''one static method for sending e-mails Public Sub SendMail(ByVal [From] As String, ByVal [To] …
Jump to PostIs it through an Exchange server or something else?
Jump to Postok try this one..
Dim SmtpServer As New SmtpClient() SmtpServer.Credentials = New Net.NetworkCredential("username", "password") SmtpServer.Port = 587 SmtpServer.Host = "smtp.gmail.com" SmtpServer.EnableSsl = True Dim mail As New MailMessage() Dim addr() As String = TextBox1.Text.Split(",") Try mail.From = New MailAddress("abc@gmail.com", "abc def", System.Text.Encoding.UTF8) Dim i As Byte For …
Jump to Post@vivekanandaan, please make sure you didn't end up with an extra () on the end of one of your strings when you pasted the code.
Jump to Postthen please check you id and password again at www.gmail.com. because there is nothing wrong with that code .
All 18 Replies
kingsonprisonic
42
Posting Whiz in Training
thines01
401
Postaholic
Team Colleague
Featured Poster
vivekanandaan
0
Light Poster
vivekanandaan
0
Light Poster
kingsonprisonic
42
Posting Whiz in Training
thines01
401
Postaholic
Team Colleague
Featured Poster
vivekanandaan
0
Light Poster
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
vivekanandaan
0
Light Poster
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
vivekanandaan
0
Light Poster
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
vivekanandaan
0
Light Poster
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
vivekanandaan
0
Light Poster
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
vivekanandaan
commented:
spontaneous help .....
+2
kingsonprisonic
42
Posting Whiz in Training
thines01
401
Postaholic
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.