File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 9
9
from email .utils import formatdate , make_msgid
10
10
11
11
12
-
13
12
class Mailer (Responder ):
14
13
def __init__ (self ):
15
14
Responder .__init__ (self )
16
15
self .smtp_host = self .get_param ("config.smtp_host" , "localhost" )
17
- self .smtp_port = self .get_param ("config.smtp_port" , "25" )
16
+ self .smtp_port = int ( self .get_param ("config.smtp_port" , "25" ) )
18
17
self .mail_from = self .get_param (
19
18
"config.from" , None , "Missing sender email address"
20
19
)
@@ -84,7 +83,7 @@ def run(self):
84
83
# mail_to = mail_artifacts.pop()
85
84
# else:
86
85
# self.error("recipient address not found in observables")
87
- # Search recipient address in case tags
86
+ # Search recipient address in case tags
88
87
tags = self .get_param (
89
88
"data.tags" , None , "recipient address not found in tags"
90
89
)
You can’t perform that action at this time.
0 commit comments