Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 9th, 2008, 09:34 PM
Member
 
Join Date: Jul 2008
Posts: 63
Default 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.
Reply
  #2  
Old September 10th, 2008, 06:37 PM
Member
 
Join Date: Jul 2008
Posts: 63
Default

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
Reply
  #3  
Old September 10th, 2008, 06:39 PM
Member
 
Join Date: Jul 2008
Posts: 63
Default make smtp ignore invalid email addresses

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
Reply
  #4  
Old September 10th, 2008, 09:26 PM
codegecko's Avatar
Moderator
 
Join Date: May 2007
Location: United Kingdom
Age: 21
Posts: 341
Default

Hi there,

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

medicineworker
Reply
  #5  
Old September 11th, 2008, 02:30 PM
Member
 
Join Date: Jul 2008
Posts: 63
Default

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
Reply
  #6  
Old September 11th, 2008, 02:31 PM
Member
 
Join Date: Jul 2008
Posts: 63
Default

I have posted another message for the same problem.
Reply
  #7  
Old September 11th, 2008, 02:51 PM
DrBunchman's Avatar
Moderator
 
Join Date: Jan 2008
Location: Winchester, UK
Posts: 924
Default

Quote:
Originally Posted by ayush patel
I have posted another message for the same problem.
I've merged these threads for you Ayush.

Dr B
Reply
  #8  
Old September 11th, 2008, 04:36 PM
Member
 
Join Date: Jul 2008
Posts: 63
Default

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
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles