Click here to Skip to main content
15,920,503 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: SQL Check if a record exists Pin
The ANZAC17-Oct-07 0:04
The ANZAC17-Oct-07 0:04 
GeneralRe: SQL Check if a record exists Pin
Vimalsoft(Pty) Ltd17-Oct-07 0:24
professionalVimalsoft(Pty) Ltd17-Oct-07 0:24 
GeneralRe: SQL Check if a record exists Pin
The ANZAC17-Oct-07 0:49
The ANZAC17-Oct-07 0:49 
GeneralRe: SQL Check if a record exists Pin
Vimalsoft(Pty) Ltd17-Oct-07 1:41
professionalVimalsoft(Pty) Ltd17-Oct-07 1:41 
QuestionHow to send and receive e-mails in windows application? Pin
hgs24shravgi16-Oct-07 21:08
hgs24shravgi16-Oct-07 21:08 
AnswerRe: How to send and receive e-mails in windows application? Pin
Salman Sheikh16-Oct-07 21:24
Salman Sheikh16-Oct-07 21:24 
AnswerRe: How to send and receive e-mails in windows application? Pin
Steven J Jowett17-Oct-07 1:37
Steven J Jowett17-Oct-07 1:37 
GeneralRe: How to send and receive e-mails in windows application? Pin
hgs24shravgi17-Oct-07 20:36
hgs24shravgi17-Oct-07 20:36 
hey Steven,
i tried the code given by you as follows -
Dim myMessage As New System.Net.Mail.MailMessage()
With myMessage
.To.Add("harshal_shravgi@gmail.com")
.From = New System.Net.Mail.MailAddress("harshal_shravgi@yahoo.com", "Harshal")
.Subject = "Test For Sending Mail"
'.Attachments.Add(New System.Net.Mail.Attachment("path of attachment here"))
.Body = "Hi hello How are U?"
.IsBodyHtml = False
End With

Dim SmtpMail As New System.Net.Mail.SmtpClient
With SmtpMail
.Host = "smtp.gmail.com"
.DeliveryMethod = SmtpDeliveryMethod.Network
'Credentials only required if your SMTP server requires User Name and Password
.Credentials = New System.Net.NetworkCredential("harshal@veda-logic.com", "board8414")
.Send(myMessage)
End With

But got error as -
The SMTP server requires a secure connection or the client was not authenticated. The server response was:
5.7.0 Must issue a STARTTLS command first m34sm543278waf

Confused | :confused:
GeneralRe: How to send and receive e-mails in windows application? Pin
hgs24shravgi19-Oct-07 0:12
hgs24shravgi19-Oct-07 0:12 
Questiondata insertion Pin
BasharatAli16-Oct-07 21:06
BasharatAli16-Oct-07 21:06 
AnswerRe: data insertion Pin
Salman Sheikh16-Oct-07 21:26
Salman Sheikh16-Oct-07 21:26 
GeneralRe: data insertion Pin
BasharatAli16-Oct-07 21:28
BasharatAli16-Oct-07 21:28 
QuestionHow to run a DOS process and get ErrorLevel Pin
edmonson16-Oct-07 20:53
edmonson16-Oct-07 20:53 
AnswerRe: How to run a DOS process and get ErrorLevel Pin
Luc Pattyn17-Oct-07 2:39
sitebuilderLuc Pattyn17-Oct-07 2:39 
QuestionHow To Use ? Pin
Satish_S16-Oct-07 20:03
Satish_S16-Oct-07 20:03 
AnswerRe: How To Use ? Pin
Vimalsoft(Pty) Ltd16-Oct-07 21:06
professionalVimalsoft(Pty) Ltd16-Oct-07 21:06 
Questionhow to do datecalculations? Pin
sathyan_829416-Oct-07 19:56
sathyan_829416-Oct-07 19:56 
AnswerRe: how to do datecalculations? Pin
Guffa16-Oct-07 21:09
Guffa16-Oct-07 21:09 
GeneralRe: how to do datecalculations? Pin
Salman Sheikh17-Oct-07 22:44
Salman Sheikh17-Oct-07 22:44 
Questionexecuting Pin
SreejithAchutan16-Oct-07 19:32
SreejithAchutan16-Oct-07 19:32 
AnswerRe: executing Pin
Vimalsoft(Pty) Ltd16-Oct-07 21:31
professionalVimalsoft(Pty) Ltd16-Oct-07 21:31 
AnswerRe: executing Pin
Dave Kreskowiak17-Oct-07 2:02
mveDave Kreskowiak17-Oct-07 2:02 
QuestionTracking Tab Key Press in DataGridView Pin
SekharOne16-Oct-07 18:58
SekharOne16-Oct-07 18:58 
AnswerRe: Tracking Tab Key Press in DataGridView Pin
Dave Kreskowiak17-Oct-07 2:03
mveDave Kreskowiak17-Oct-07 2:03 
GeneralRe: Tracking Tab Key Press in DataGridView Pin
Salman Sheikh17-Oct-07 22:46
Salman Sheikh17-Oct-07 22:46 

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.