Click here to Skip to main content
15,909,897 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
AnswerRe: Any one help me-smtp server Pin
~V~2-Jul-08 2:38
~V~2-Jul-08 2:38 
Try this one

But first
Imports system.web.mail

<br />
 Dim obj As System.Web.Mail.SmtpMail<br />
    Dim mailMsg As New MailMessage()<br />
<br />
        mailMsg.From = "abc@gmail.com"<br />
        mailMsg.[To] = "def@gmail.com"<br />
        mailMsg.Subject = "Just 4 Testing"<br />
        mailMsg.Body = "Hello"<br />
<br />
        mailMsg.Priority = MailPriority.High<br />
    ' Smtp configuration <br />
        SmtpMail.SmtpServer = "smtp.gmail.com"<br />
    ' - smtp.gmail.com use smtp authentication <br />
        mailMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1")<br />
        mailMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "abc@gmail.com")<br />
        mailMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "password")<br />
    ' - smtp.gmail.com use port 465 or 587 <br />
        mailMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "465")<br />
    ' - smtp.gmail.com use STARTTLS (some call this SSL) <br />
        mailMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "true")<br />
    ' try to send Mail <br />
<br />
        SmtpMail.Send(mailMsg)<br />
<br />



Hope it will help U

Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...

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 
GeneralRe: MsChart in VB.Net 2005 Pin
klaydze2-Jul-08 15:33
klaydze2-Jul-08 15:33 

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.