aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/send.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-06-21 14:33:09 -0400
committerDrew DeVault <sir@cmpwn.com>2019-06-21 14:33:09 -0400
commitceeb30abeb5c55da0f1e54a5cfe06afcf5d9c356 (patch)
tree5ba994267e6449ffcdb5335a4a0745c6a0b4472d /commands/compose/send.go
parent63538978f3c4ff1a5662b62754c4783405239b91 (diff)
downloadaerc-ceeb30abeb5c55da0f1e54a5cfe06afcf5d9c356.tar.gz
Fix Cc & Bcc handling in replies
Diffstat (limited to 'commands/compose/send.go')
-rw-r--r--commands/compose/send.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/compose/send.go b/commands/compose/send.go
index 96d24d90..c4bff118 100644
--- a/commands/compose/send.go
+++ b/commands/compose/send.go
@@ -36,6 +36,8 @@ func SendMessage(aerc *widgets.Aerc, args []string) error {
"No outgoing mail transport configured for this account")
}
+ aerc.Logger().Println("Sending mail")
+
uri, err := url.Parse(config.Outgoing)
if err != nil {
return errors.Wrap(err, "url.Parse(outgoing)")
@@ -152,6 +154,7 @@ func SendMessage(aerc *widgets.Aerc, args []string) error {
if err = conn.Mail(from.Address); err != nil {
return 0, errors.Wrap(err, "conn.Mail")
}
+ aerc.Logger().Printf("rcpt to: %v", rcpts)
for _, rcpt := range rcpts {
if err = conn.Rcpt(rcpt); err != nil {
return 0, errors.Wrap(err, "conn.Rcpt")