Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def quote(request):
- if request.method == 'POST':
- .
- .
- .
- send_mail(
- 'Quote Request: ....',
- 'Message Body',
- 'myemail@email.com',
- ['vendor1@email.com, vendor2@email.com, vendor3@email.com]
- )
- EMAIL_USE_TLS = True
- EMAIL_HOST = 'stmp.office365.com'
- EMAIL_HOST_USER = 'myemail@email.com'
- EMAIL_HOST_PASSWORD = 'My Plain Text Password That I Want to Encrypt Here!'
- EMAIL_PORT = 587
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement