mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
fix: log messages with info! instead of println!
This commit is contained in:
@@ -364,8 +364,7 @@ pub(crate) async fn smtp_send(
|
|||||||
msg_id: MsgId,
|
msg_id: MsgId,
|
||||||
) -> SendResult {
|
) -> SendResult {
|
||||||
if std::env::var(crate::DCC_MIME_DEBUG).is_ok() {
|
if std::env::var(crate::DCC_MIME_DEBUG).is_ok() {
|
||||||
info!(context, "SMTP-sending out mime message:");
|
info!(context, "SMTP-sending out mime message:\n{message}");
|
||||||
println!("{message}");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
smtp.connectivity.set_working(context).await;
|
smtp.connectivity.set_working(context).await;
|
||||||
|
|||||||
Reference in New Issue
Block a user