aboutsummaryrefslogtreecommitdiff
path: root/b4/ty.py
diff options
context:
space:
mode:
Diffstat (limited to 'b4/ty.py')
-rw-r--r--b4/ty.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/ty.py b/b4/ty.py
index dae5206..7ca64da 100644
--- a/b4/ty.py
+++ b/b4/ty.py
@@ -431,7 +431,7 @@ def send_messages(listing, branch, cmdargs):
if not fromaddr:
fromaddr = jsondata['myemail']
logger.info(' Sending: %s', msg.get('subject'))
- b4.send_smtp(smtp, msg, fromaddr, dryrun=cmdargs.dryrun)
+ b4.send_mail(smtp, [msg], fromaddr, dryrun=cmdargs.dryrun)
else:
slug_from = re.sub(r'\W', '_', jsondata['fromemail'])
slug_subj = re.sub(r'\W', '_', jsondata['subject'])