M
mfleet1973
Hello Again.
I have a program that sends e-mails as follows:
Try
Dim mail As New MailMessage
mail.To = "(e-mail address removed)"
mail.From = "(e-mail address removed)
mail.Subject = "Test"
mail.Body = "Testing123"
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1") 'basic authentication
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
NTUsername) 'set your username here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
NTPassWord) 'set your password here
SmtpMail.SmtpServer = "smtpserveraddress"
SmtpMail.Send(mail)
Catch ex As Exception
MsgBox("Error sending e-mail.")
End Try
Sending the e-mail using my program from a laptop connected via cable
to the network it works just fine. However, when sending the e-mail
using my program through a wireless connection, it bombs with a cdo
error message.
My question is why does this happen on a wireless network when the same
computer can send e-mails when it's hooked up to the network with a
cable?
Thanks for any replies.
Mike.
I have a program that sends e-mails as follows:
Try
Dim mail As New MailMessage
mail.To = "(e-mail address removed)"
mail.From = "(e-mail address removed)
mail.Subject = "Test"
mail.Body = "Testing123"
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1") 'basic authentication
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
NTUsername) 'set your username here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
NTPassWord) 'set your password here
SmtpMail.SmtpServer = "smtpserveraddress"
SmtpMail.Send(mail)
Catch ex As Exception
MsgBox("Error sending e-mail.")
End Try
Sending the e-mail using my program from a laptop connected via cable
to the network it works just fine. However, when sending the e-mail
using my program through a wireless connection, it bombs with a cdo
error message.
My question is why does this happen on a wireless network when the same
computer can send e-mails when it's hooked up to the network with a
cable?
Thanks for any replies.
Mike.