lib/eco/api/common/session/mailer.rb in eco-helpers-2.6.0 vs lib/eco/api/common/session/mailer.rb in eco-helpers-2.6.1
- old
+ new
@@ -31,10 +31,12 @@
data: body
}
}
}
).tap do |response|
- logger.debug("Sent email to #{to} (MessageId: #{response.message_id})")
+ msg = "Sent email (MessageId: #{response.message_id}) to #{fetch_destination(to: to, cc: cc, bcc: bcc)}"
+ puts msg
+ logger.debug(msg)
end
end
private