How do I reject a connection?

Giganews Newsgroups
Subject: How do I reject a connection?
Posted by:  Lee McLaren (.)
Date: Thu, 21 Aug 2003

When I receive mail by smtp I need to process the mail and add it to a
database, If the processing fails I would like to reject the mail so the
sending server gets a failure message. What is the correct way to reject the
mail and is there a specific response code I should use?

regards

Lee McLaren.

Replies