G
Guest
Hi
I have a VB.Net windows application that’s running on 30 PCs.
All in the same network.
All PCs run XP Pro.
All PCs have Framework 1.1
2 of the PC throw an error when they try to send mail via the application.
“Could not Access CDO messenger objectâ€
Code Example
\\
Imports System.Web
Imports System.Web.Mail
Private sub SerndTheMail()
Dim strMessage As String
strMessage = Me.txtMessage.Text
Dim msg As New MailMessage
msg.To = "(e-mail address removed)"
msg.From = "(e-mail address removed)"
msg.Subject = "subject"
msg.BodyFormat = MailFormat.Text
msg.Body = strMessage & Chr(10) & Chr(10) & strBody
SmtpMail.SmtpServer = "smtp.OurServerName.com"
SmtpMail.Send(msg)
msg = Nothing
End sub
//
I have tried uninstall / reinstalling both framework and the application.
why do 2 out of 30 not work?
Please help!
BrianDH
I have a VB.Net windows application that’s running on 30 PCs.
All in the same network.
All PCs run XP Pro.
All PCs have Framework 1.1
2 of the PC throw an error when they try to send mail via the application.
“Could not Access CDO messenger objectâ€
Code Example
\\
Imports System.Web
Imports System.Web.Mail
Private sub SerndTheMail()
Dim strMessage As String
strMessage = Me.txtMessage.Text
Dim msg As New MailMessage
msg.To = "(e-mail address removed)"
msg.From = "(e-mail address removed)"
msg.Subject = "subject"
msg.BodyFormat = MailFormat.Text
msg.Body = strMessage & Chr(10) & Chr(10) & strBody
SmtpMail.SmtpServer = "smtp.OurServerName.com"
SmtpMail.Send(msg)
msg = Nothing
End sub
//
I have tried uninstall / reinstalling both framework and the application.
why do 2 out of 30 not work?
Please help!
BrianDH