aboutsummaryrefslogtreecommitdiff
path: root/b4/ty.py
diff options
context:
space:
mode:
Diffstat (limited to 'b4/ty.py')
-rw-r--r--b4/ty.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/b4/ty.py b/b4/ty.py
index 7ca64da..2bb7d2f 100644
--- a/b4/ty.py
+++ b/b4/ty.py
@@ -431,7 +431,8 @@ def send_messages(listing, branch, cmdargs):
if not fromaddr:
fromaddr = jsondata['myemail']
logger.info(' Sending: %s', msg.get('subject'))
- b4.send_mail(smtp, [msg], fromaddr, dryrun=cmdargs.dryrun)
+ # We never want to use the web endpoint for this (it's only for submitting patches)
+ b4.send_mail(smtp, [msg], fromaddr, dryrun=cmdargs.dryrun, use_web_endpoint=False)
else:
slug_from = re.sub(r'\W', '_', jsondata['fromemail'])
slug_subj = re.sub(r'\W', '_', jsondata['subject'])