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
Solved

asp error '80040211' when sending email

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

Title # Comments Views Activity
Upgrading from SBS2003 to Windows Server 2012r2 Essentials 13 58
Cannot open file from ASP if user is "logged in" 13 30
If condition on Html with Asp 11 28
edit .asp files 5 31
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
In this video we show how to create a User Mailbox 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 >> Mailb…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

828 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