Add useful help message to handleSub
j3s j3s@c3f.net
Wed, 20 Nov 2019 17:46:27 -0600
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
main.go
→
main.go
@@ -247,6 +247,7 @@ log.Printf("DUPLICATE_SUBSCRIPTION_REQUEST User=%q List=%q\n", msg.From, listId)
} else { addSubscription(msg.From, listId) fmt.Fprintf(&body, "You are now subscribed to %s\r\n", listId) + fmt.Fprintf(&body, "To send a message to this list, send an email to %s\r\n", list.Address) } reply := buildCommandEmail(msg, body) send(reply)