Solved

asp error '80040211' when sending email

Posted on 2007-04-10
2
2,138 Views
Last Modified: 2013-12-17
I have a asp website that sends emails.  This code has worked for over 2  years now, and 9 months on the current box.  All of sudden today (Tuesday) the site stopped sending emails with the error message

error '80040211'
/Segments/Validation/validate_falsification_questions.asp, line 362

line 362 is - myMail.Send

I am currently using windows server 2003 and microsoft exchange 6.5.  Here is my code :

sub sendmail()
      Set myMail=CreateObject("CDO.Message")
      myMail.Subject="Email"
      myMail.From="xxx"
      myMail.To="xxx"
      myMail.Cc="xxx"

      HTML = HTML & "<html>message</html>"
 
myMail.HTMLBody  = HTML
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="www.DOMAINNAME.com"
'Server port
      myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") =25
myMail.Configuration.Fields.Update
myMail.Send
set myMail=nothing
end sub
%>
0
Comment
Question by:jhoop2002
2 Comments
 
LVL 3

Author Comment

by:jhoop2002
ID: 18884634
McAfee Virus scan was blocking port 25.
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 19112712
jhoop2002,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now