Sending an e-mail on a wireless network

  • Thread starter Thread starter mfleet1973
  • Start date Start date
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.
 
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?

I noticed that you're using a NT password - does your mail server reject
connections from the Wireless Subnet?
 
I don't think so. The user that has this issue is able to send/receive
e-mails using outlook while wireless.

Any other ideas?

Thanks a lot!
 
I don't think so. The user that has this issue is able to
send/receive e-mails using outlook while wireless.

Any other ideas?


Trying using a product like Ethereal to monitor network traffic between the
client and the server - a quick sniffer can solve a lot of problems quickly
: )

Another useful program is TCPTrace:

http://www.pocketsoap.com/tcptrace/
 
Back
Top