Sometimes I get this error when testing web.mail:
The server rejected one or more recipient addresses
The server response was: 473 kjhg@Kjhg.com relaying prohibited. You should
authenticate first
This goes away when I simply put a try/catch around sending email, but I'm
wondering if I can use this to my advantage -- come back to the user saying
their email is invalid, try again?
I'm asking if this is a good method, since I'm a little bit hesitant to form
my business logic around a try/catch -- I'm under the impression try/catch
is to be used for error handling only.
-Max
The server rejected one or more recipient addresses
The server response was: 473 kjhg@Kjhg.com relaying prohibited. You should
authenticate first
This goes away when I simply put a try/catch around sending email, but I'm
wondering if I can use this to my advantage -- come back to the user saying
their email is invalid, try again?
I'm asking if this is a good method, since I'm a little bit hesitant to form
my business logic around a try/catch -- I'm under the impression try/catch
is to be used for error handling only.
-Max
Comment