diff options
| -rw-r--r-- | python/process_queue.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/python/process_queue.py b/python/process_queue.py index f1f24c56..a27a72f4 100644 --- a/python/process_queue.py +++ b/python/process_queue.py @@ -718,6 +718,15 @@ def upload_buf( sftp = SftpClient.from_creds("hm_globeop") sftp.client.chdir("incoming") sftp.put(buf, dest) + em = ExchangeMessage() + recipients = ("hm-operations@bnymellon.com",) + em.send_email( + "Trade file", + "", + to_recipients=recipients, + cc_recipients=("bowdoin-ops@lmcg.com",), + attach=(FileAttachment(name=dest, content=buf),), + ) else: raise ValueError(f"unknow fund name: {fund}") |
