We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d97850d commit 17a45f5Copy full SHA for 17a45f5
src/smtp/envelope.rs
@@ -63,6 +63,11 @@ impl<T: AsyncRead + AsyncWrite + Unpin> SmtpClient<T> {
63
self.cmd(b"RSET\r\n").await?.assert_positive_completion()
64
}
65
66
+ /// Sends a NOOP command to the server.
67
+ pub async fn noop(&mut self) -> crate::Result<()> {
68
+ self.cmd(b"NOOP\r\n").await?.assert_positive_completion()
69
+ }
70
+
71
/// Sends a QUIT command to the server.
72
pub async fn quit(mut self) -> crate::Result<()> {
73
self.cmd(b"QUIT\r\n").await?.assert_positive_completion()
0 commit comments