Set email dry run as false
diff --git a/staffeln/common/email.py b/staffeln/common/email.py
index 86ebdd2..d88a96d 100644
--- a/staffeln/common/email.py
+++ b/staffeln/common/email.py
@@ -4,7 +4,7 @@
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
-__DRY_RUN__ = True
+__DRY_RUN__ = False
def send(
diff --git a/staffeln/conductor/result.py b/staffeln/conductor/result.py
index a76d99e..8f51588 100644
--- a/staffeln/conductor/result.py
+++ b/staffeln/conductor/result.py
@@ -53,6 +53,7 @@
def send_result_email(self):
subject = "Backup result"
try:
+ if len(CONF.notification.receiver) == 0: return
email.send(
src_email=CONF.notification.sender_email,
src_pwd=CONF.notification.sender_pwd,