Click here to Skip to main content
16,009,114 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to code dns lookup application using VB.net 2008? Pin
Johan Hakkesteegt10-Sep-08 20:01
Johan Hakkesteegt10-Sep-08 20:01 
AnswerRe: How to code dns lookup application using VB.net 2008? Pin
rakyomin11-Sep-08 4:25
rakyomin11-Sep-08 4:25 
QuestionBest logging/tty (teletype-style) output control? Pin
supercat910-Sep-08 6:59
supercat910-Sep-08 6:59 
AnswerRe: Best logging/tty (teletype-style) output control? Pin
jzonthemtn10-Sep-08 7:47
jzonthemtn10-Sep-08 7:47 
GeneralRe: Best logging/tty (teletype-style) output control? Pin
supercat910-Sep-08 9:54
supercat910-Sep-08 9:54 
Questionmultiple parameters in thread Pin
Nilish10-Sep-08 6:46
Nilish10-Sep-08 6:46 
AnswerRe: multiple parameters in thread PinPopular
Christian Graus10-Sep-08 7:08
protectorChristian Graus10-Sep-08 7:08 
AnswerRe: multiple parameters in thread Pin
Mycroft Holmes10-Sep-08 15:45
professionalMycroft Holmes10-Sep-08 15:45 
QuestionPrinting PictureBox with tiled background Pin
Bob_Stan10-Sep-08 5:47
Bob_Stan10-Sep-08 5:47 
QuestionIs it possible to have a sticky topic in this forum? Pin
Jon_Boy10-Sep-08 3:29
Jon_Boy10-Sep-08 3:29 
AnswerRe: Is it possible to have a sticky topic in this forum? Pin
Christian Graus10-Sep-08 6:29
protectorChristian Graus10-Sep-08 6:29 
AnswerRe: Is it possible to have a sticky topic in this forum? Pin
Mycroft Holmes10-Sep-08 15:49
professionalMycroft Holmes10-Sep-08 15:49 
GeneralRe: Is it possible to have a sticky topic in this forum? Pin
Jon_Boy11-Sep-08 3:00
Jon_Boy11-Sep-08 3:00 
QuestionImage contrast and sharpening Pin
JR21210-Sep-08 2:44
JR21210-Sep-08 2:44 
AnswerRe: Image contrast and sharpening Pin
Guffa10-Sep-08 3:27
Guffa10-Sep-08 3:27 
GeneralRe: Image contrast and sharpening Pin
Member 768566524-Feb-11 1:42
Member 768566524-Feb-11 1:42 
QuestionHow to Send Mail in VB.Net 2005 ? Pin
Chintu Shah10-Sep-08 2:37
Chintu Shah10-Sep-08 2:37 
AnswerRe: How to Send Mail in VB.Net 2005 ? Pin
jzonthemtn10-Sep-08 2:48
jzonthemtn10-Sep-08 2:48 
GeneralRe: How to Send Mail in VB.Net 2005 ? Pin
Chintu Shah10-Sep-08 3:07
Chintu Shah10-Sep-08 3:07 
GeneralRe: How to Send Mail in VB.Net 2005 ? Pin
Ashfield10-Sep-08 3:25
Ashfield10-Sep-08 3:25 
QuestionRe: How to Send Mail in VB.Net 2005 ? Pin
jzonthemtn10-Sep-08 7:40
jzonthemtn10-Sep-08 7:40 
AnswerRe: How to Send Mail in VB.Net 2005 ? Pin
Rajesh Anuhya10-Sep-08 5:51
professionalRajesh Anuhya10-Sep-08 5:51 
AnswerRe: How to Send Mail in VB.Net 2005 ? Pin
Christian Graus10-Sep-08 8:32
protectorChristian Graus10-Sep-08 8:32 
AnswerRe: How to Send Mail in VB.Net 2005 ? Pin
NewLaw10-Sep-08 10:39
NewLaw10-Sep-08 10:39 
Hi I hope this helps you out...here you are sending mail through exchange server.
This is is vb.net 2005

Public Sub psSendMail(ByVal sSubject As String, ByVal sBody As String)
        Try

            Dim EmailFrom As String = "SourceServer@Somewhere.com"
            Dim EmailTo As String = "YourEmail@yahoo.com"
                        
            you can use either of these methods to connect to exchange server
            'Dim EmailServer As New System.Net.Mail.SmtpClient("192.0.0.1")
            Dim EmailServer As New System.Net.Mail.SmtpClient("emailservername.com")
            Dim myMessage As New System.Net.Mail.MailMessage(EmailFrom, EmailTo, sSubject, sBody)
            Try
                EmailServer.Send(myMessage)
            Catch
            
            Finally
                myMessage = Nothing
            End Try
        Catch ex As Exception
            
        End Try

    End Sub

QuestionRe-Login Problem Pin
lahsiv10-Sep-08 2:32
lahsiv10-Sep-08 2:32 

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.