Click here to Skip to main content
15,905,590 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: PopupMenu BMPs... Pin
Tom John15-Dec-04 22:40
Tom John15-Dec-04 22:40 
GeneralSwitching beteween forms in vb.net Pin
Ryan Coleman15-Dec-04 10:34
Ryan Coleman15-Dec-04 10:34 
GeneralRe: Switching beteween forms in vb.net Pin
Mekong River15-Dec-04 11:10
Mekong River15-Dec-04 11:10 
GeneralRe: Switching beteween forms in vb.net Pin
Zenly15-Dec-04 11:24
Zenly15-Dec-04 11:24 
GeneralRe: Switching beteween forms in vb.net Pin
Ryan Coleman15-Dec-04 13:23
Ryan Coleman15-Dec-04 13:23 
GeneralTest a connection to SQL Server Pin
marclenoir200515-Dec-04 10:18
marclenoir200515-Dec-04 10:18 
GeneralRe: Test a connection to SQL Server Pin
jonathan1517-Dec-04 2:56
jonathan1517-Dec-04 2:56 
GeneralInternal Domain Email Issues Pin
CitizenSoldier15-Dec-04 9:35
CitizenSoldier15-Dec-04 9:35 
I have an app running on an internal server using the following code:

Imports System.Web.Mail
Private Sub EmailError(Optional ByVal sError As String = "Default")
Try
TextBox1.Text += "Emailing Error now." & vbCrLf
TextBox1.Refresh()
Dim oMail As New MailMessage
oMail.To = m_sErrorEmail
oMail.From = "User1@xxxxx.org"
oMail.Subject = "Error Occured in Profile Scoring"
oMail.BodyFormat = MailFormat.Html
oMail.Body = sError
'SmtpMail.SmtpServer.Insert(0, "127.0.0.1")
SmtpMail.Send(oMail)
TextBox1.Text += "Email sent." & vbCrLf
TextBox1.Refresh()
Catch ex As Exception
TextBox1.Text += "Error occurred in EmailError." & vbCrLf
TextBox1.Text += "Stopping process." & vbCrLf
TextBox1.Refresh()
EmailError(ex.ToString())
btnEnd.PerformClick()
End Try
End Sub

The email goes out no problem as long as the To address is outside of the xxxxx.org domain. However, if trying to send to an internal email address (i.e. User2@xxxxx.org) then the email does not arrive. BTW both email accounts are valid in Active Directory.

Any thoughts? This is super simple code. Would love to know what I am doing wrong. I recognize that it may be an exchange or domain security issue but I need some direction. Thanks for your help.

CitizenSoldier
GeneralFiles Closed but Not Really -- Database Error 16040 Pin
aubndez15-Dec-04 5:23
aubndez15-Dec-04 5:23 
GeneralForm creation crisis!!! Pin
carlos_rocha15-Dec-04 4:33
carlos_rocha15-Dec-04 4:33 
GeneralRe: Form creation crisis!!! Pin
Dennis C. Dietrich15-Dec-04 4:49
Dennis C. Dietrich15-Dec-04 4:49 
GeneralRe: Form creation crisis!!! Pin
carlos_rocha15-Dec-04 5:18
carlos_rocha15-Dec-04 5:18 
GeneralRe: Form creation crisis!!! Pin
Dennis C. Dietrich15-Dec-04 5:51
Dennis C. Dietrich15-Dec-04 5:51 
GeneralRe: Form creation crisis!!! Pin
carlos_rocha15-Dec-04 6:14
carlos_rocha15-Dec-04 6:14 
GeneralRe: Form creation crisis!!! Pin
Dennis C. Dietrich15-Dec-04 6:35
Dennis C. Dietrich15-Dec-04 6:35 
GeneralRe: Form creation crisis!!! Pin
carlos_rocha15-Dec-04 6:43
carlos_rocha15-Dec-04 6:43 
GeneralRe: Form creation crisis!!! Pin
carlos_rocha15-Dec-04 22:11
carlos_rocha15-Dec-04 22:11 
QuestionHow to add Icon Overlay in VB.Net Pin
Zenly15-Dec-04 3:56
Zenly15-Dec-04 3:56 
AnswerRe: How to add Icon Overlay in VB.Net Pin
Zenly16-Dec-04 6:14
Zenly16-Dec-04 6:14 
Generalfont like property Pin
Stumped115-Dec-04 3:21
sussStumped115-Dec-04 3:21 
GeneralRe: font like property Pin
OICU81215-Dec-04 16:52
OICU81215-Dec-04 16:52 
GeneralRe: font like property Pin
Stumped116-Dec-04 2:43
sussStumped116-Dec-04 2:43 
GeneralRe: font like property Pin
OICU81216-Dec-04 4:50
OICU81216-Dec-04 4:50 
GeneralHelp needed Pin
singhrajendra15-Dec-04 2:00
singhrajendra15-Dec-04 2:00 
GeneralRe: Help needed Pin
Dennis C. Dietrich15-Dec-04 2:16
Dennis C. Dietrich15-Dec-04 2:16 

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.