use ALINTO smtp relay for production
This commit is contained in:
@@ -184,7 +184,7 @@ def devis_web(request):
|
||||
os.remove(dest)
|
||||
|
||||
# on est en developpement ou en production
|
||||
if request.registry.settings["mail.username"] == "sasdumas@entreprise-dumas.com":
|
||||
if request.registry.settings["mondumas.admin_email"] == "sasdumas@entreprise-dumas.com":
|
||||
origin = 'https://gestion.entreprise-dumas.com/devis_preview/%s' % nodevis
|
||||
pdfkit.from_url(origin, dest, options=options)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user