Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Email Handling with ASP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Email Handling with ASP

 Post Reply Post Reply
Author
qtechs View Drop Down
Newbie
Newbie


Joined: 20 August 2003
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote qtechs Quote  Post ReplyReply Direct Link To This Post Topic: Email Handling with ASP
    Posted: 20 August 2003 at 9:22am

Can any one tell me How to handle the email...Mean to say...I am sending some 10 mail using CDONTs now out of them some 2 bounced back with Undeliverable massage now I want to handle those two email such a way that I can get the email ids...

 

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2003 at 5:30pm

Depending upon the reason an email is bounced back, most smtp servers are configured to retry a certain number of times - like every 12 hours for 4 days. Varies by smtp server configuration.

Check with your ISP and see if your account has a postmaster box for dumped emails. Then what you do depends upon how programmable your ISP allows your smtp server to be.

A semi-manual alternative is to use a specifc acount to send them, and set up Outlook or some other client to read-only that account and handle anything that's returned to the account manually.

Email can bounce for a variety of reasons but a good rule of thumb is to delete the account from your mailing list after not being able to deliver for two or three successive mailings. Upon a successful delivery, you'd set the counter back to zero,

Some of the scripting sites have sample code for this, but it really depends upon how much access to the mail queues your ISP allows.

Your basic process is..

  1. Determine if accessing the smtp queues or catching email via a client will work best for you.
  2. Determine which emails are undeliverable as of the final server attempt to deliver them. Requires filtering/tracking to id the final attempt. In the example above, seven bounces would indicate it got through on the eighth attempt. Eight bounces would indicate it never got through.
  3. Either change the maillist db or create a new db to include the user id, count of unsuccessful attempts, and date of last unsuccessful mailing. You may also want to check the email headers for the reason and only count certain non-delivery reasons.
  4. About a week after a mailing, reconcile the final bounces with the data base.
    • If the email id has no bounce count in the db, add them
    • If the email id has reached their consecutive bounce limit, zap them from this and the mailing list db.
    • If the email has a bounce count, but is not in this latest batch of undeliverables, zap the bounce count.


Edited by dpyers

Lead me not into temptation... I know the short cut, follow me.
Back to Top
qtechs View Drop Down
Newbie
Newbie


Joined: 20 August 2003
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote qtechs Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2003 at 2:09am

Thanks a lot for the reply...

But I might an Idiot being not able to decode much...

Actually I am lay man , can the ready to use cut and paste script be provided for use...

Thanks once again

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2003 at 3:23pm

You may want to check out PostCastServer - turns your pc into an smtp maillist server, loges bounces, etc.

http://www.postcastserver.com/

Haven't used it myself, but it looked interesting.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.