diff options
author | Vincent Richard <[email protected]> | 2010-10-20 09:37:39 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2010-10-20 09:37:39 +0000 |
commit | 7e5a9a404fcb9555f40b6c47adf9c79df9c8a95a (patch) | |
tree | 3a59400b5e958b1682e4232b0eafb0a5be136d22 /src/net/smtp/SMTPTransport.cpp | |
parent | Fixed wrong name. (diff) | |
download | vmime-7e5a9a404fcb9555f40b6c47adf9c79df9c8a95a.tar.gz vmime-7e5a9a404fcb9555f40b6c47adf9c79df9c8a95a.zip |
Return failed email address in exception for RCPT TO.
Diffstat (limited to 'src/net/smtp/SMTPTransport.cpp')
-rw-r--r-- | src/net/smtp/SMTPTransport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/smtp/SMTPTransport.cpp b/src/net/smtp/SMTPTransport.cpp index 71f166bc..204daae6 100644 --- a/src/net/smtp/SMTPTransport.cpp +++ b/src/net/smtp/SMTPTransport.cpp @@ -583,7 +583,7 @@ void SMTPTransport::send(const mailbox& expeditor, const mailboxList& recipients if ((resp = readResponse())->getCode() != 250) { internalDisconnect(); - throw exceptions::command_error("RCPT TO", resp->getText()); + throw exceptions::command_error("RCPT TO", resp->getText(), mbox.getEmail()); } } |