KostyaEsmukov/smtp_to_telegram

How can i send messages via telnet?

sotoje opened this issue · 1 comments

Hi, when i try to send a test message via telnet i am receiving "5.5.4 invalid address" message

Your message is invalid then.

Example: https://stackoverflow.com/a/9427114

A simplest message which will be accepted:

err := smtp.SendMail(smtpConfig.smtpListen, nil, "from@test", []string{"to@test"}, []byte(`hi`))