473,396 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

error '8004020f' SMTP Log

Hi everyone,

I am writing ASP code to send email using SMTP.I am getting error '8004020f' at .Send. this seems to be a common error.

my SMTP server relays to anonymous email addresses.there is no firewall or proxy set up that can stop these mails to be sent.

Infact i have seen the SMTP LOG FILE and (i dont know exactly what it says)i think it is sending the mail.see below

this is my SMTP LOG FILE.


127.0.0.1, aaaaaa, 9/9/2008, 15:50:36, SMTPSVC1, AAA-AAA, 127.0.0.1, 0, 15, 57, 259, 0, HELO, -, aaaaaa,
127.0.0.1, aaaaaa, 9/9/2008, 15:50:36, SMTPSVC1, AAA-AAA, 127.0.0.1, 0, 18, 57, 254, 0, MAIL, -, FROM: <gggg@gmail.com>,
127.0.0.1, aaaaaa, 9/9/2008, 15:50:36, SMTPSVC1, AAA-AAA, 127.0.0.1, 0, 97, 56, 289, 0, RCPT, -, TO: <cem@dfr.com>

but still i can see error '8004020f' message on the screen.

can someone tell me looking at the log file if mails are being sent and what might be the reason for the error to occur.

Thanks,
Ayush.
Sep 9 '08 #1
7 5560
Ok. I think some of the email addresses out of bunch are getting rejected.

how can i make smtp to ignore these email addresses?

Ayush
Sep 10 '08 #2
How can I make smtp server ignore invalid email addresses. I am sending emails to a number of people at a time. one or two are bound to be fake addresses. how can I make SMTP server run anyway without showing error message on screen.

Thanks,
Ayush
Sep 10 '08 #3
JamieHowarth0
533 Expert 512MB
Hi there,

Use a Try...Catch block to send the emails.

medicineworker
Sep 10 '08 #4
I used try catch block and it has done the job but there is a new problem now.

another error says server rejected one or more emial addresses because there are too many recipients. what can be done for this.

Ayush
Sep 11 '08 #5
I have posted another message for the same problem.
Sep 11 '08 #6
DrBunchman
979 Expert 512MB
I have posted another message for the same problem.
I've merged these threads for you Ayush.

Dr B
Sep 11 '08 #7
Thanks for that Dr.B

Hey guys I have got the solution. I just increased the "Limit number of recipients" to whatever limit I wanted.this option is found under SMTP properties in messages tab.

Din't realise the solution was so simple.

Ayush
Sep 11 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: alex | last post by:
Hi, Does anybody have an idea why is this happening. The following code works great on my development machine (windows 2000 pro), but on the test server (Windows 2000 Server) it can only send...
5
by: Paco | last post by:
I'm having a problem with an ASP page I've made and was hoping someone out there can help. My page sends an email using CDO to a username pulled from a database as follows: With cdoMessage...
6
by: Owen | last post by:
Hi, can somebody help me please... I'm trying to set up a very simple asp page that sends me an email when it runs. This is just to try and get CDOSYS working so I can send out emails from my...
1
by: Luis andyza | last post by:
I use CDO.Message to send e-mail from an asp page (similar to the method at http://www.aspfaq.com/show.asp?id=2305). One of my testers entered an invalid e-mail address and got an 8004020F error....
2
by: dmalhotr2001 | last post by:
Hi, I'm using windows 2003 with asp. However I'm having problems sending email using the cdosys object. My code is below and I don't believe its the code but on the send command. <% dim...
2
by: Mario Michela | last post by:
i've been working for 4 days trying to accomplish something that should take 20 minutes.. I have an asp page that take user info, ie name, address phone, email. it sends a copy to email addres A...
1
by: Vijay | last post by:
Hi, I have a problem to send Mail in ASP. I am using CDO for sending mail. My Server configuration are : Windows Server 2003 Stadndard Edition with R2, Service Pack 2, Microsoft Management...
0
by: Larry D | last post by:
I have a client with a site that users can register at, we collect their emails, if they have one, in an Access db. I have a page that uses CDOSYS to send messages to those emails but I am getting...
2
by: candywang | last post by:
first , my english is bad~~~I'm sorry! I got some problem. Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") =real ip(remote machine)...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.