aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/mailing_list.py14
-rw-r--r--python/templates/template-2015-01-14.html60
-rw-r--r--python/templates/template-2015-01-14.txt35
3 files changed, 102 insertions, 7 deletions
diff --git a/python/mailing_list.py b/python/mailing_list.py
index 68923001..ef1fe5b3 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-2014-12-11.txt") as fh:
+with open("templates/template-2015-01-14.txt") as fh:
s_text = Template(fh.read())
-with open("templates/template-2014-12-11.html") as fh:
+with open("templates/template-2015-01-14.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 3Q2014.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-01-14.html b/python/templates/template-2015-01-14.html
new file mode 100644
index 00000000..18f4a4e0
--- /dev/null
+++ b/python/templates/template-2015-01-14.html
@@ -0,0 +1,60 @@
+<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">December</td>
+ <td style="text-align:right;font-size:14px">-0.13%</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>
+<tr>
+ <td style="padding-right:1em;font-size:14px">2013</td>
+ <td style="text-align:right;font-size:14px">21.11%</td>
+</tr>
+</table>
+
+<p>
+The fund's 4<sup>th</sup> quarter investor letter is attached as well
+as information about Serenitas Capital and our team.
+</p>
+
+<p>
+Kind regards,<br/>
+David
+</p>
+
+<p style="font-size:9pt">
+<span style="color:#000076;font-weight:bold">David Weeks<br/>
+ SERENITAS CAPITAL LP<br/></span>
+<span style="color:#000076;font-size:8pt">(646) 257-2894<br/></span>
+<a href="mailto:david.weeks@serenitascapital.com" style="font-size:8pt">david.weeks@serenitascapital.com</a>
+</p>
+
+<p style="font-size:9pt">
+Results are net of fees and accrued allocations. Results for 2014 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-01-14.txt b/python/templates/template-2015-01-14.txt
new file mode 100644
index 00000000..f60297d3
--- /dev/null
+++ b/python/templates/template-2015-01-14.txt
@@ -0,0 +1,35 @@
+Hello$name,
+
+I'd like to update you regarding the performance of Serenitas Credit
+Gamma Master Fund.
+
+December -0.13%
+2014 12.44%
+2013 21.11%
+
+The fund's 4th quarter investor letter is attached as well as
+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 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.