http://qs321.pair.com?node_id=341360


in reply to Net::SMTP success / failure response

Sorry, your relay has no way of knowing whether that user exists. The only way to do it properly is to check for bounces, this is still true if you deliver to that domain's MX.

Also, in the sample code you provided you should check the return value of each method. Newer spam catching techniques would consider your software a spam agent because it would ignore the result of the RCPT TO command and try to send DATA anyway.

  • Comment on Re: Net::SMTP success / failure response

Replies are listed 'Best First'.
Re: Re: Net::SMTP success / failure response
by Anonymous Monk on Apr 01, 2004 at 01:21 UTC
    That's what I was beginning to be afraid of.

    The tip about cehcking the other return values is helpful however. I'll have to look into that. Thank you!