Iam using CDO with VB.net to send user Login information(username and Password).
Iam using the following code to send the e-mail.
Dim objMsg As New CDO.Message()
Dim conf As New CDO.Configuration()
Const cdoSendUsingPort = 2
Dim Flds = conf.Fields
") = cdoSendUsingPort
") = 0
) = 15
") = 25
e").value = 2
.Configuration = conf
.From = "firstname.lastname@example.org"
.To = "email@example.com"
.Subject = "Web Timecard Login information"
.HTMLBody = " Here is the HTML body text message"
objMsg = Nothing
conf = Nothing
Flds = Nothing
When I first run the program, it was sent the mail sucessfully. It tool around 15 to 20 Minutes to receive the e-mail. Then i have tested several times. Later i didn't get any mail. But i can see the application run successfully.
I got one error message, saying that.
Error Message: Your E-mail message was unable to send because your mail server rejects the sender. 451 timeout waiting for client input.
Do i need to setup something in the mail server to accept SMTP mail messages?. we are using Outlook e-mails.
Can anyone please tell me how can I solve this issue.
Thanks in advance..