add logging message

This commit is contained in:
Aaron Bieber 2024-06-18 15:38:25 -06:00
parent 4bd6056d0a
commit 2ea5b0c1ae
No known key found for this signature in database

View File

@ -130,6 +130,7 @@ func SMSListen(store ChatStore, plugins *plugins.Plugins) {
}
log.Printf("SMS: smtp sending id: %q to: %q, from: %q", id, smtpReceiver, smtpUser)
fmt.Fprintf(wc, fmt.Sprintf("To: %s\r\n", smtpReceiver))
fmt.Fprintf(wc, fmt.Sprintf("From: %s\r\n", smtpUser))
fmt.Fprintf(wc, fmt.Sprintf("Subject: Message received from number %s to number %s [%s]\r\n", from, from, id))