Solved

asp error '80040211' when sending email

Posted on 2007-04-10
2
2,144 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

809 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