It would be nice to return the failed email address in a command_error exception:
SMPTTransport.cpp line 586:
- throw exceptions::command_error("RCPT TO", resp->getText());
+ throw exceptions::command_error("RCPT TO", resp->getText(), mbox.getEmail());
Then ex.what() returns:
Error while executing command 'RCPT TO': email@example.com.
Done, thank you.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.