mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-17 02:39:40 +00:00
BCC Sender so sender has a copy of the email that was sent out (#384)
This commit is contained in:
parent
bfa477a262
commit
6fa5336adf
1 changed files with 1 additions and 0 deletions
|
@ -814,6 +814,7 @@ class SendEmailBlock(Block):
|
|||
msg = EmailMessage()
|
||||
msg["Subject"] = self.subject + f" - Workflow Run ID: {workflow_run_id}"
|
||||
msg["To"] = ", ".join(self.recipients)
|
||||
msg["BCC"] = self.sender # BCC the sender so there is a record of the email being sent
|
||||
msg["From"] = self.sender
|
||||
if self.body and workflow_run_context.has_parameter(self.body) and workflow_run_context.has_value(self.body):
|
||||
# We're purposely not decrypting the body parameter value here because we don't want to expose secrets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue