On Sat, 15 Jun 2013, [email protected] wrote:
> Hi guys, I having setup the right smpt parameter for our rackspace
> instance in /opt/invenio/etc/invenio.conf .. I still don't get email
> notifications When I checked the error log for what the problem could
> be. I found this.
Just to make sure, you have amended your
`/opt/invenio/etc/invenio-local.conf' file by setting appropriate SMTP
variables:
CFG_MISCUTIL_SMTP_HOST = localhost
CFG_MISCUTIL_SMTP_PORT = 25
CFG_MISCUTIL_SMTP_USER =
CFG_MISCUTIL_SMTP_PASS =
CFG_MISCUTIL_SMTP_TLS = False
and then you propagated your changes to the rest of Invenio by doing:
$ sudo -u www-data /opt/invenio/bin/inveniocfg --update-all
followed by restarting your Apache server. Is that right?
If you did this and the email sending still does not work for you, then
what do you get when running explicitly something like:
$ ipython
In [1]: from invenio.mailutils import send_email
In [2]: send_email('root@localhost', '[email protected]', 'test subject',
'test body', header='', footer='')
Out[2]: True
Best regards
--
Tibor Simko