mirror of
https://github.com/craigerl/aprsd.git
synced 2025-06-24 21:15:18 -04:00
add null reply for send_email
This commit is contained in:
parent
7b51c36f65
commit
1697395e84
@ -510,6 +510,7 @@ class EmailPlugin(APRSDPluginBase):
|
|||||||
if not too_soon or ack == 0:
|
if not too_soon or ack == 0:
|
||||||
LOG.info("Send email '{}'".format(content))
|
LOG.info("Send email '{}'".format(content))
|
||||||
send_result = email.send_email(to_addr, content)
|
send_result = email.send_email(to_addr, content)
|
||||||
|
reply = messaging.NULL_MESSAGE
|
||||||
if send_result != 0:
|
if send_result != 0:
|
||||||
reply = "-{} failed".format(to_addr)
|
reply = "-{} failed".format(to_addr)
|
||||||
# messaging.send_message(fromcall, "-" + to_addr + " failed")
|
# messaging.send_message(fromcall, "-" + to_addr + " failed")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user