Click here to Skip to main content
15,914,481 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Error binding picture box? Pin
Dave Kreskowiak29-Jun-04 1:04
mveDave Kreskowiak29-Jun-04 1:04 
GeneralRe: Error binding picture box? Pin
mythinky30-Jun-04 15:31
mythinky30-Jun-04 15:31 
GeneralRe: Error binding picture box? Pin
Dave Kreskowiak1-Jul-04 1:32
mveDave Kreskowiak1-Jul-04 1:32 
GeneralRe: Error binding picture box? Pin
mythinky5-Jul-04 15:26
mythinky5-Jul-04 15:26 
GeneralRe: Error binding picture box? Pin
Dave Kreskowiak6-Jul-04 23:49
mveDave Kreskowiak6-Jul-04 23:49 
GeneralRe: Error binding picture box? Pin
mythinky11-Jul-04 23:04
mythinky11-Jul-04 23:04 
QuestionError send email? Pin
mythinky16-Jun-04 16:03
mythinky16-Jun-04 16:03 
AnswerRe: Error send email? Pin
Dave Kreskowiak17-Jun-04 3:24
mveDave Kreskowiak17-Jun-04 3:24 
The problem is that it looks like your using your local computer's SMTP server to send this. Most ISP's won't let you do this and will not relay mail for you. Instead, try using your ISP's SMTP server address in the objSMTPServer.SmtpServer line:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
    Dim objEmailMessage As System.Web.Mail.MailMessage
    Dim objSMTPServer As System.Web.Mail.SmtpMail
    objSMTPServer.SmtpServer = "smtp.myISP.com"
 
    objEmailMessage = New System.Web.Mail.MailMessage
    With objEmailMessage
        .To = "destinationemail@address.com"
        .From = txtFrom.Text
        .Subject = "Great Job!"
        .Body = "Want all my money?"
    End With
 
    objSMTPServer.Send(objEmailMessage)
    Catch exc as exception
        Response.Write(exc.InnerException.InnerException.Message)
    End Try
End Sub


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Error send email? Pin
mythinky17-Jun-04 22:02
mythinky17-Jun-04 22:02 
AnswerRe: Error send email? Pin
Aaron Eldreth17-Jun-04 4:16
Aaron Eldreth17-Jun-04 4:16 
Generalput icon Context Menu on File selection Pin
skoizumi2911016-Jun-04 12:59
sussskoizumi2911016-Jun-04 12:59 
GeneralRe: put icon Context Menu on File selection Pin
tramdtt16-Jun-04 14:38
tramdtt16-Jun-04 14:38 
GeneralRe: put icon Context Menu on File selection Pin
vancouver77716-Jun-04 14:40
vancouver77716-Jun-04 14:40 
GeneralRe: put icon Context Menu on File selection Pin
tramdtt16-Jun-04 15:55
tramdtt16-Jun-04 15:55 
GeneralRe: put icon Context Menu on File selection Pin
shinay16-Jun-04 19:22
shinay16-Jun-04 19:22 
GeneralRe: put icon Context Menu on File selection Pin
tramdtt16-Jun-04 20:43
tramdtt16-Jun-04 20:43 
GeneralRe: put icon Context Menu on File selection Pin
grigri17-Jun-04 1:07
grigri17-Jun-04 1:07 
GeneralRTF control Pin
PaleyX16-Jun-04 12:57
PaleyX16-Jun-04 12:57 
GeneralRe: RTF control Pin
Dave Kreskowiak17-Jun-04 3:18
mveDave Kreskowiak17-Jun-04 3:18 
GeneralRe: RTF control Pin
PaleyX17-Jun-04 4:07
PaleyX17-Jun-04 4:07 
Generalcustom metadata editor in ArcCatalog Pin
abhishk2001@yahoo.com16-Jun-04 11:56
abhishk2001@yahoo.com16-Jun-04 11:56 
GeneralAttention ASP/VB gurus: Calling LoadLibrary/GetProcAddress from ASP pages or VB scripts Pin
Xiangyang Liu 刘向阳16-Jun-04 8:41
Xiangyang Liu 刘向阳16-Jun-04 8:41 
GeneralRe: Attention ASP/VB gurus: Calling LoadLibrary/GetProcAddress from ASP pages or VB scripts Pin
Dave Kreskowiak16-Jun-04 9:09
mveDave Kreskowiak16-Jun-04 9:09 
GeneralRe: Attention ASP/VB gurus: Calling LoadLibrary/GetProcAddress from ASP pages or VB scripts Pin
Xiangyang Liu 刘向阳16-Jun-04 22:18
Xiangyang Liu 刘向阳16-Jun-04 22:18 
GeneralRe: Attention ASP/VB gurus: Calling LoadLibrary/GetProcAddress from ASP pages or VB scripts Pin
Dave Kreskowiak17-Jun-04 3:04
mveDave Kreskowiak17-Jun-04 3:04 

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.