Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
f4d7270915
commit
6008c8dd53
1 changed files with 10 additions and 1 deletions
|
@ -31,7 +31,16 @@ impl<T: Display> EhloResponse<T> {
|
|||
}
|
||||
|
||||
pub fn write(&self, mut writer: impl Write) -> io::Result<()> {
|
||||
write!(writer, "250-{} you had me at EHLO\r\n", self.hostname)?;
|
||||
write!(
|
||||
writer,
|
||||
"250-{} nice seeing you (again), is there anything liquid or hazardous in your mail?\r\n",
|
||||
self.hostname
|
||||
)?;
|
||||
write!(writer, "250-X-YUMEPOST-CERTIFIED-MAIL\r\n")?;
|
||||
write!(writer, "250-X-YUMEPOST-FREE-TRACKING\r\n")?;
|
||||
write!(writer, "250-X-YUMEPOST-INTERNATIONAL-MAIL\r\n")?;
|
||||
write!(writer, "250-X-YUMEPOST-EMAIL-PRINTING\r\n")?;
|
||||
|
||||
let mut capabilities = self.capabilities;
|
||||
|
||||
while capabilities != 0 {
|
||||
|
|
Loading…
Reference in a new issue