Solved

asp error '80040211' when sending email

Posted on 2007-04-10
2
2,133 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
Comment Utility
McAfee Virus scan was blocking port 25.
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
Comment Utility
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

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
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 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…
In this video we show how to create an email address policy 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 Mail Flow…

762 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

9 Experts available now in Live!

Get 1:1 Help Now