"RCPT TO" command_error exception

A. Brandt
2010-10-20
2013-04-25
  • A. Brandt

    A. Brandt - 2010-10-20

    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': hugo.egon@somewhere.com.

    Best Regards
    Achim

     
  • Vincent Richard

    Vincent Richard - 2010-10-20

    Hello,

    Nice idea!
    Done, thank you.

    Vincent

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks