1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-04-08 12:38:39 -04:00

add null reply for send_email

This commit is contained in:
Craig Lamparter 2021-01-08 11:02:57 -08:00
parent 7b51c36f65
commit 1697395e84

View File

@ -510,6 +510,7 @@ class EmailPlugin(APRSDPluginBase):
if not too_soon or ack == 0:
LOG.info("Send email '{}'".format(content))
send_result = email.send_email(to_addr, content)
reply = messaging.NULL_MESSAGE
if send_result != 0:
reply = "-{} failed".format(to_addr)
# messaging.send_message(fromcall, "-" + to_addr + " failed")