Open li-xunhuan opened 3 years ago
Actually this is a good question as the documentation lacks clarity, meaning the handler could be more explicit, in this form is unusable
func rcptHandler(remoteAddr net.Addr, from string, to string) bool { domain = getDomain(to) return domain == "mail.example.com" }
Hello, I also faced such a problem. I can't send the message. Writes panic: unencrypted connection. Although our mail service is based on https. Please tell me where I made a mistake?
You connect with an SMTP client and follow the protocol. I use Mutt.