Tried testing the library using mailtrap, everything works great but if if try to simulate an error (in my case, putting a wrong smtp username), the onSuccess callback is called, followed by the onFailure with the error code. I don't think that's right...
to reproduce just set up a basic handler, define both callbacks and send an email through mailtrap but with a wrong username
Tried testing the library using mailtrap, everything works great but if if try to simulate an error (in my case, putting a wrong smtp username), the onSuccess callback is called, followed by the onFailure with the error code. I don't think that's right...
to reproduce just set up a basic handler, define both callbacks and send an email through mailtrap but with a wrong username