Click here to Skip to main content
15,913,941 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDataGridViewCellStyle Format Pin
Smithers-Jones2-Jul-08 2:49
Smithers-Jones2-Jul-08 2:49 
AnswerRe: DataGridViewCellStyle Format Pin
Tom Deketelaere2-Jul-08 5:03
professionalTom Deketelaere2-Jul-08 5:03 
GeneralRe: DataGridViewCellStyle Format [modified] Pin
Smithers-Jones2-Jul-08 19:46
Smithers-Jones2-Jul-08 19:46 
QuestionAdd Control Pin
~V~2-Jul-08 2:30
~V~2-Jul-08 2:30 
AnswerRe: Add Control Pin
Thomas Stockwell2-Jul-08 2:34
professionalThomas Stockwell2-Jul-08 2:34 
GeneralRe: Add Control Pin
~V~2-Jul-08 2:40
~V~2-Jul-08 2:40 
GeneralRe: Add Control Pin
Thomas Stockwell2-Jul-08 2:45
professionalThomas Stockwell2-Jul-08 2:45 
QuestionAny one help me-smtp server Pin
kannanmani2-Jul-08 1:26
kannanmani2-Jul-08 1:26 
Hii Friends

I have a form in my software in which if user is connected to internet can send an querry to my id, myid@gmail.com. Two textboxes one for sender email id will be written and another for subject, And the main querry in the multiple lines text box. i have a smptp and pop3 account with gmail.com as smtp.gail.com and pop.gmail.com . How can i do this which namespace i have to import for tat and the code is required.
I use this code but didn't send mail .if any one help me...


Dim Email As New System.Net.Mail.MailMessage("kanmani84@gmail.com", "kanmani84@gmail.com") '(From, To)

Email.Subject = "Dot Net 2.0 Mail Class Test"
Email.Body = "This is the Dot Net 2.0 Mail Class Test Email. "

Dim mailClient As New System.Net.Mail.SmtpClient()
Dim basicAuthenticationInfo As New System.Net.NetworkCredential("kanmani84", "mani12")
mailClient.Host = "mail.gmail.com"
mailClient.EnableSsl = True
mailClient.Port = 25
mailClient.UseDefaultCredentials = False

mailClient.Credentials = basicAuthenticationInfo
mailClient.Send(Email)


I have been tryin on this

Please share if u have N E idea.



Thanks
By
K.Mani

By
K.mani

AnswerRe: Any one help me-smtp server Pin
~V~2-Jul-08 2:38
~V~2-Jul-08 2:38 
AnswerRe: Any one help me-smtp server Pin
Thomas Stockwell2-Jul-08 2:41
professionalThomas Stockwell2-Jul-08 2:41 
AnswerRe: Any one help me-smtp server Pin
Jay Royall2-Jul-08 2:51
Jay Royall2-Jul-08 2:51 
AnswerRe: Any one help me-smtp server Pin
jzonthemtn2-Jul-08 6:07
jzonthemtn2-Jul-08 6:07 
QuestionDataGridView Column ordering Pin
Fahim A2-Jul-08 1:16
Fahim A2-Jul-08 1:16 
AnswerRe: DataGridView Column ordering Pin
paas2-Jul-08 3:05
paas2-Jul-08 3:05 
AnswerRe: DataGridView Column ordering Pin
Fahim A4-Jul-08 13:00
Fahim A4-Jul-08 13:00 
QuestionTablebuilder Pin
Kahuna2-Jul-08 0:48
Kahuna2-Jul-08 0:48 
AnswerRe: Tablebuilder Pin
Thomas Stockwell2-Jul-08 2:46
professionalThomas Stockwell2-Jul-08 2:46 
GeneralRe: Tablebuilder Pin
Kahuna2-Jul-08 3:39
Kahuna2-Jul-08 3:39 
GeneralRe: Tablebuilder Pin
Thomas Stockwell2-Jul-08 3:42
professionalThomas Stockwell2-Jul-08 3:42 
GeneralRe: Tablebuilder Pin
Kahuna2-Jul-08 4:30
Kahuna2-Jul-08 4:30 
QuestionSet statement what really do? Pin
Sakthivel P1-Jul-08 23:09
Sakthivel P1-Jul-08 23:09 
AnswerRe: Set statement what really do? Pin
Jay Royall2-Jul-08 0:30
Jay Royall2-Jul-08 0:30 
AnswerRe: Set statement what really do? Pin
Rajesh Anuhya2-Jul-08 1:42
professionalRajesh Anuhya2-Jul-08 1:42 
QuestionMsChart in VB.Net 2005 Pin
klaydze1-Jul-08 22:27
klaydze1-Jul-08 22:27 
AnswerRe: MsChart in VB.Net 2005 Pin
~Khatri Mitesh~2-Jul-08 0:02
~Khatri Mitesh~2-Jul-08 0:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.