changed mailhost to pro1.mail.ovh.net
This commit is contained in:
@@ -139,9 +139,14 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-4">
|
||||
<p><span class="glyphicon glyphicon-envelope"></span> Centre de Méditation Sunyata<br>
|
||||
<p class="text-right">
|
||||
<span class="glyphicon glyphicon-map-marker"></span><br>
|
||||
<b>Méditation Sunyata Paris</b><br>
|
||||
116 bd Maréchal Foch<br>
|
||||
93160 NOISY LE GRAND
|
||||
93160 NOISY LE GRAND<br>
|
||||
<br>
|
||||
<span class="glyphicon glyphicon-envelope"></span><br>
|
||||
contact@meditation-sunyata.paris
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
© 2022 - Méditation SUNYATA Paris
|
||||
| <a href="{{ request.route_url('blog', id=1, slug='mentions-legales') }}">Mentions légales</a>
|
||||
| <a href="{{ request.route_url('topic', topic='FR9') }}">A propos</a>
|
||||
|
||||
| <a href="https://www.ovhcloud.com/fr/mail/" target="__blank">Contact</a>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -59,11 +59,12 @@ def home(request):
|
||||
body = """
|
||||
Bonjour,
|
||||
|
||||
L' expéditeur : {0} ( {1} )
|
||||
a envoyé le message suivant via le formulaire de Contact du site :
|
||||
L' expéditeur '{0}' ({1}), a envoyé le message suivant via le site web :
|
||||
|
||||
----- Début du message -----
|
||||
|
||||
{2}
|
||||
|
||||
----- Fin du message -----
|
||||
|
||||
Cordialement,
|
||||
@@ -71,10 +72,10 @@ webmaster@meditation-sunyata.paris
|
||||
|
||||
""".format(name, email, comments)
|
||||
|
||||
message = Message(subject="[MSParis] Message de contact",
|
||||
message = Message(subject="[MSParis] Message du site web",
|
||||
sender=request.registry.settings['admin_email'],
|
||||
body=body)
|
||||
message.add_recipient('phuoc@caotek.fr')
|
||||
message.add_recipient(request.registry.settings['admin_email'])
|
||||
mailer = request.registry['mailer']
|
||||
mailer.send_immediately(message)
|
||||
request.session.flash("Votre message a bien été envoyé au webmestre. Merci de votre intérêt pour notre site.", "success")
|
||||
|
||||
@@ -26,12 +26,12 @@ secret_key = 6LeDvVUgAAAAAGASZXCmcmhh-KtBWTZjXpLpKdNt
|
||||
# cao_blogr.admin_email = cao.thien-phuoc@orange.fr
|
||||
# mail.host = smtp.orange.fr
|
||||
# mail.port = 25
|
||||
admin_email = phuoc@caotek.fr
|
||||
mail.host = smtp.gmail.com
|
||||
mail.port = 465
|
||||
mail.ssl = True
|
||||
mail.username = phuoc@caotek.fr
|
||||
mail.password = pcao.8211
|
||||
admin_email = contact@meditation-sunyata.paris
|
||||
mail.host = pro1.mail.ovh.net
|
||||
mail.port = 587
|
||||
mail.tls = True
|
||||
mail.username = contact@meditation-sunyata.paris
|
||||
mail.password = 88.tanhkhong
|
||||
|
||||
|
||||
retry.attempts = 3
|
||||
|
||||
@@ -23,13 +23,12 @@ secret_key = 6LeDvVUgAAAAAGASZXCmcmhh-KtBWTZjXpLpKdNt
|
||||
# Mailer configuration
|
||||
# mail.host = localhost
|
||||
# mail.port = 25
|
||||
admin_email = phuoc@caotek.fr
|
||||
mail.host = smtp.gmail.com
|
||||
mail.port = 465
|
||||
mail.ssl = True
|
||||
mail.username = phuoc@caotek.fr
|
||||
mail.password = pcao.8211
|
||||
retry.attempts = 3
|
||||
admin_email = contact@meditation-sunyata.paris
|
||||
mail.host = pro1.mail.ovh.net
|
||||
mail.port = 587
|
||||
mail.tls = True
|
||||
mail.username = contact@meditation-sunyata.paris
|
||||
mail.password = 88.tanhkhong
|
||||
|
||||
[pshell]
|
||||
setup = cao_blogr.pshell.setup
|
||||
|
||||
Reference in New Issue
Block a user