|
|
@ -59,7 +59,7 @@ def send_email(to, addr, pdf, dt_date):
|
|
|
|
# send email
|
|
|
|
# send email
|
|
|
|
email = EmailMultiAlternatives()
|
|
|
|
email = EmailMultiAlternatives()
|
|
|
|
# TODO: redefining template
|
|
|
|
# TODO: redefining template
|
|
|
|
email.subject = "You quote for " + addr.address + " is attached"
|
|
|
|
email.subject = "Your quote for " + addr.address + " is attached"
|
|
|
|
email.to = [to]
|
|
|
|
email.to = [to]
|
|
|
|
context = {
|
|
|
|
context = {
|
|
|
|
'address': addr.address,
|
|
|
|
'address': addr.address,
|
|
|
|