add netmail to configured network's master sysop

This commit is contained in:
MeaTLoTioN 2022-03-21 20:32:12 +00:00
parent 2c7680877d
commit 778ccb73d9

View File

@ -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