C
Cameron Eckman
I get various errors when I try to use email on the machine I have. XP
professional. It works fine on another machine with NT 2000 server. Below
is the code:
'BEGIN CODE
Dim oMail As New MailMessage()
With oMail
.From = "(e-mail address removed)"
.To = "(e-mail address removed)"
.Subject = "Test SMTP"
End With
SmtpMail.Send(oMail)
'END CODE
1) I receive the following error:
The "SendUsing" configuration value is invalid.
2) If I add
SmtpMail.SmtpServer = "localhost"
A) the SMTP server is stopped, I receive the following error:
The transport failed to connect to the server
B) the SMTP server is running, I receive the following error:
Unable to relay for (e-mail address removed)
I can enable relaying for localhost, but is this necessary? Is there an
different way for it to be coded? Thanks in advance.
professional. It works fine on another machine with NT 2000 server. Below
is the code:
'BEGIN CODE
Dim oMail As New MailMessage()
With oMail
.From = "(e-mail address removed)"
.To = "(e-mail address removed)"
.Subject = "Test SMTP"
End With
SmtpMail.Send(oMail)
'END CODE
1) I receive the following error:
The "SendUsing" configuration value is invalid.
2) If I add
SmtpMail.SmtpServer = "localhost"
A) the SMTP server is stopped, I receive the following error:
The transport failed to connect to the server
B) the SMTP server is running, I receive the following error:
Unable to relay for (e-mail address removed)
I can enable relaying for localhost, but is this necessary? Is there an
different way for it to be coded? Thanks in advance.