In order to use the office365 smtp i need tls.
In a newer project (I think using 2.3.5) i use in production.ini:
trace_errors.smtp_use_tls = true
Is there somthing I can use in my old tg2.2 project to use tls (using prodction.ini config)?
I cant seem to find how to do that
Thanks
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+...@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.
Great, thanks a lot! (And thank you for your hard work on
TurboGears)
Here are the changes I made in my app_cfg.py, using after_init_config override:
from tg.configuration import AppConfig
from pylons import config
...
class MyAppConfig(AppConfig):
def after_init_config(self):
config['pylons.errorware']['smtp_use_tls'] = True
base_config = MyAppConfig()
...
I am once again able to receive
error emails