diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/mailing_list.py | 14 | ||||
| -rw-r--r-- | python/templates/template-2015-02-12.html | 66 | ||||
| -rw-r--r-- | python/templates/template-2015-02-12.txt | 37 |
3 files changed, 110 insertions, 7 deletions
diff --git a/python/mailing_list.py b/python/mailing_list.py index ef1fe5b3..253e3507 100644 --- a/python/mailing_list.py +++ b/python/mailing_list.py @@ -21,10 +21,10 @@ server = smtplib.SMTP('smtp.gmail.com:587') server.starttls() server.login(gmail_login, gmail_password) -with open("templates/template-2015-01-14.txt") as fh: +with open("templates/template-2015-02-12.txt") as fh: s_text = Template(fh.read()) -with open("templates/template-2015-01-14.html") as fh: +with open("templates/template-2015-02-12.html") as fh: s_html = Template(fh.read()) attachment_name = 'Serenitas Capital (SCGMF Returns).pdf' @@ -32,10 +32,10 @@ with open(os.path.join(root, "Pitchbook", attachment_name), 'rb') as fh: pdf_attach1 = MIMEApplication(fh.read(), 'pdf') pdf_attach1.add_header('Content-Disposition', 'attachment', filename = attachment_name) -attachment_name = 'Serenitas Credit Gamma Master Fund - Investor Letter 4Q2014.pdf' -with open(os.path.join(root, "InvestorLetters", attachment_name), 'rb') as fh: - pdf_attach2 = MIMEApplication(fh.read(), 'pdf') -pdf_attach2.add_header('Content-Disposition', 'attachment', filename = attachment_name) +# attachment_name = 'Serenitas Credit Gamma Master Fund - Investor Letter 4Q2014.pdf' +# with open(os.path.join(root, "InvestorLetters", attachment_name), 'rb') as fh: +# pdf_attach2 = MIMEApplication(fh.read(), 'pdf') +# pdf_attach2.add_header('Content-Disposition', 'attachment', filename = attachment_name) for email, name, firm in mailing_list: print(email, name, firm) @@ -53,6 +53,6 @@ for email, name, firm in mailing_list: msg_alternative.attach(MIMEText(s_html.substitute(name = name), 'html')) msg.attach(msg_alternative) msg.attach(pdf_attach1) - msg.attach(pdf_attach2) + # msg.attach(pdf_attach2) server.send_message(msg) server.quit() diff --git a/python/templates/template-2015-02-12.html b/python/templates/template-2015-02-12.html new file mode 100644 index 00000000..cefa7fe2 --- /dev/null +++ b/python/templates/template-2015-02-12.html @@ -0,0 +1,66 @@ +<html> +<body style="font-family:Calibri,sans-serif;font-size:11pt"> +Hello$name, + +<p> +I'd like to update you regarding the performance of Serenitas Credit Gamma Master Fund. + +</p> +<table style="font-family:Calibri,sans-serif;font-size:14px"> +<tr> + <td style="padding-right:1em;font-size:14px">January</td> + <td style="text-align:right;font-size:14px">0.89%</td> +</tr> +<tr> + <td style="padding-right:1em;font-size:14px">YTD (1/2015)</td> + <td style="text-align:right;font-size:14px">0.89%</td> +</tr> +<tr> + <td style="padding-right:1em;font-size:14px">2013</td> + <td style="text-align:right;font-size:14px">21.11%</td> +</tr> +<tr> + <td style="padding-right:1em;font-size:14px">2014</td> + <td style="text-align:right;font-size:14px">12.44%</td> +</tr> + +</table> + +<p> +The fund is a relative value credit fund with a low net risk +approach. Please see the attached file for information about Serenitas +Capital and our team. +</p> + +<p> +Best regards,<br/> +David +</p> + +<p style="font-size:11pt"> +<span style="color:#000076;font-weight:bold">David Weeks<br/> + SERENITAS CAPITAL LP<br/></span> +<span style="color:#000076;font-size:9pt">(646) 257-2894<br/></span> +<a href="mailto:david.weeks@serenitascapital.com" style="font-size:9pt">david.weeks@serenitascapital.com</a> +</p> + +<p style="font-size:9pt"> +Results are net of fees and accrued allocations. Results for 2014 and +2015 are estimated and unaudited. Past performance is not necessarily +indicative of future results. Rates of return are calculated for all +investors taken as a whole. An individual investor’s rate of return +may vary based on the terms of its subscription and timing of its +investment in the fund. <br/> + +<p style="font-size:9pt"> +This document does not constitute an offer to sell or the solicitation +of an offer to purchase any security or investment product. Any such +offer or solicitation may only be made by means of delivery of an +approved offering memorandum. An approved offering memorandum must be +received and reviewed prior to any investment decision. Any person +subscribing for an investment must be able to bear the risks involved +and must meet the suitability requirements relating to such +investments. +</p> +</body> +</html> diff --git a/python/templates/template-2015-02-12.txt b/python/templates/template-2015-02-12.txt new file mode 100644 index 00000000..58d686bc --- /dev/null +++ b/python/templates/template-2015-02-12.txt @@ -0,0 +1,37 @@ +Hello$name, + +I'd like to update you regarding the performance of Serenitas Credit +Gamma Master Fund. + +January 0.89% +YTD (1/2015) 0.89% +2013 21.11% +2014 12.44% + +The fund is a relative value credit fund with a low net risk approach. +Please see the attached file for information about Serenitas Capital +and our team. + +Kind regards, +David + +David Weeks +SERENITAS CAPITAL LP +(646) 257-2894 +david.weeks@serenitascapital.com + +Results are net of fees and accrued allocations. Results for 2014 and +2015 are estimated and unaudited. Past performance is not necessarily +indicative of future results. Rates of return are calculated for all +investors taken as a whole. An individual investor’s rate of return +may vary based on the terms of its subscription and timing of its +investment in the fund. + +This document does not constitute an offer to sell or the solicitation +of an offer to purchase any security or investment product. Any such +offer or solicitation may only be made by means of delivery of an +approved offering memorandum. An approved offering memorandum must be +received and reviewed prior to any investment decision. Any person +subscribing for an investment must be able to bear the risks involved +and must meet the suitability requirements relating to such +investments. |
