Update email template

master
Tait Hoyem 3 years ago
parent f97e3b6bbe
commit d69a429eb5

@ -3,12 +3,14 @@
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{{ subject }}</title>
<style>.bold { font-weight: bold; }</style>
<title>Roof proposal for {{ address }} is attached</title>
</head>
<body>
<p>
Thanks for using roofquote.online, the stress free way to get roof pricing updates. Attached is a PDF document detailing your most recently priced proposal residing in our system. Save it to your computer, or better yet, print it for ease of reference. Click the link below from your desktop computer and access a reference page explaining some key areas of your proposal, view shingle brochures and download them if desired.
Thank you for downloading your roof proposal. Attached is a PDF document detailing your most recently priced proposal residing in our system. Save it to your computer, or better yet, print it for ease of reference.
</p>
<p>
For access to supporting information, click on the link below from your desktop computer to access a reference page explaining some key areas of your proposal and view shingle brochures which you can download if desired.
</p>
<p>
When you wish to chat, send us an email or give us a call at (403) 668-8681.
@ -16,26 +18,19 @@ When you wish to chat, send us an email or give us a call at (403) 668-8681.
<p>
Thanks again for checking in!
<br><br>
<a class="bold" href="https://www.bahnprojects.com/roof-proposal-resources">REFERENCE PAGE</a>
<a href="https://www.bahnprojects.com/roof-proposal-resources">https://www.bahnprojects.com/roof-proposal-resources</a>
</p>
<address>
Your team at Bahn Projects
<br>
<a href="tel:4036888681">(403) 668-8681</a>
<br>
<a href="mailto:info@bahnprojects.com">info@bahnprojects.com</a>
<br>
<a href="https://www.roofquote.online">www.roofquote.online</a>
<br>
<a href="https://www.bahnprojects.com">www.bahnprojects.com</a>
<br>
Bahn Projects
<br>
(403) 668-8681
<br>
info@bahnprojects.com
<br>
www.roofquote.online
<br>
www.bahnprojects.com
<br>
</address>
<div hidden>
{{ address }}-{{ datetime }}
</div>
</body>
</html>

@ -58,11 +58,11 @@ def search(request, addr):
def send_email(to, addr, pdf, dt_date):
# send email
email = EmailMultiAlternatives()
email.subject = settings.QUOTE_SUBJECT
# TODO: redefining template
email.subject = "You quote for " + addr.address + " is attached"
email.to = [to]
context = {
'address': addr.address,
'datetime': dt_date.strftime("%d/%m/%Y %H:%M:%S"),
'subject': settings.QUOTE_SUBJECT
}
email.bcc = get_bcc_emails()

Loading…
Cancel
Save