Skip to content

Commit

Permalink
Less boring EHLO response
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed May 28, 2024
1 parent e397241 commit f4d7270
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
13 changes: 0 additions & 13 deletions .github/FUNDING.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0 OR MIT"
keywords = ["smtp", "lmtp", "protocol", "parser"]
categories = ["email", "parser-implementations"]
readme = "README.md"
version = "0.1.4"
version = "0.1.5"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/response/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl<T: Display> EhloResponse<T> {
}

pub fn write(&self, mut writer: impl Write) -> io::Result<()> {
write!(writer, "250-{} says hello\r\n", self.hostname)?;
write!(writer, "250-{} you had me at EHLO\r\n", self.hostname)?;
let mut capabilities = self.capabilities;

while capabilities != 0 {
Expand Down

0 comments on commit f4d7270

Please sign in to comment.