Re: pyramid_exclog mail sending not working

37 views
Skip to first unread message

Yonatan Braude

unread,
Jul 31, 2012, 2:12:46 AM7/31/12
to pylons-...@googlegroups.com
ok, when running on using 'wsgi' you(I) need setup the loggin in the 'pyramid.wsgi' file, like:

from pyramid.paster import get_app, setup_logging
ini_path = '/home/path/development.ini'
setup_logging(ini_path)
application = get_app(ini_path, 'main')



On Monday, July 30, 2012 10:10:27 AM UTC+3, Yonatan Braude wrote:
attached is the 'developemt.ini'.
I am able to send mail via:

me@myserver:/root$ sendmail -t so...@one.com
from: em...@server.com 
subject: working?
working?

Reply all
Reply to author
Forward
0 new messages