diff --git a/scripts/mL-nodeapp.mpy b/scripts/mL-nodeapp.mpy index 490b738..7b4c671 100644 --- a/scripts/mL-nodeapp.mpy +++ b/scripts/mL-nodeapp.mpy @@ -168,10 +168,18 @@ def sendEmail() : f.close() subject = "New Node Application" - baseID = 1 + emailBaseID = 1 + netmailBaseID = 9 + + # sent netmail to configured network's master sysop + menucmd('MX', tmpFile+';'+str(netmailBaseID)+';'+'Node Application Robot'+';'+SYSOP+';'+subject+";"+netAddress) + + # send local email to the sysop of this bbs + menucmd('MX', tmpFile+';'+str(emailBaseID)+';'+'Node Application Robot'+';'+SYSOP+';'+subject) + + # send local email to the person requesting the new node + menucmd('MX', tmpFile+';'+str(emailBaseID)+';'+'Node Application Robot'+';'+handle+';'+subject) - menucmd('MX', tmpFile+';'+str(baseID)+';'+'Node Application Robot'+';'+SYSOP+';'+subject) - menucmd('MX', tmpFile+';'+str(baseID)+';'+'Node Application Robot'+';'+handle+';'+subject) os.remove(tmpFile) # add/edit application