Skip to content

Commit 9658b06

Browse files
committed
fix: missing return log
1 parent 4a0bfa0 commit 9658b06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

camel/toolkits/imap_mail_toolkit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,8 @@ def send_email(
477477
logger.info(
478478
"Email sent successfully to %s", ", ".join(to_recipients)
479479
)
480-
return "Email sent successfully. Message ID: Unknown"
480+
return f"Email sent successfully. To recipients: " \
481+
f"{', '.join(to_recipients)}"
481482

482483
except (ConnectionError, smtplib.SMTPException) as e:
483484
logger.error("Error sending email: %s", e)

0 commit comments

Comments
 (0)