Skip to content
Snippets Groups Projects
Verified Commit daead5be authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: diagnostics sendmail

parent fc07c696
No related branches found
No related tags found
No related merge requests found
......@@ -127,9 +127,10 @@ def test_send_mail():
result = dict()
import caosdb
from caosadvancedtools.serverside import helper
result["sendmail_bin"] = caosdb.get_config()["Misc"]["sendmail"]
test_mail_to = get_option("test-mail-to")
test_mail_from = get_option("test-mail-from")
result["sendmail_bin"] = get_option("test-sendmail-bin",
caosdb.get_config()["Misc"]["sendmail"])
if test_mail_to is not None and test_mail_from is not None:
helper.send_mail(from_addr=test_mail_from,
to=test_mail_to,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment