Solved

asp error '80040211' when sending email

Posted on 2007-04-10
2
2,155 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

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.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In this video we show how to create a Distribution Group 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 >>…
In this video we show how to create an Address List 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 Organization >> Ad…

691 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