#This program can be used to print out everything in your Inbox or Sent folders and also take things out of the trash.
#Scroll down to the bottom to see the functions that you can uncomment. Save then run this file.
#The functions only read the database file seem to function just fine even if you have Bitmessage running but you should definitly close it before running the functions to take items out of the trash.
print'Hash:',hash.encode('hex'),'\tHave correct nonce:',havecorrectnonce,'\tTime first broadcast:',strftime('%a, %d%b %Y %I:%M %p',localtime(time)),'\tUsed by me personally:',usedpersonally,'\tFull pubkey message:',transmitdata.encode('hex')
deftakeInboxMessagesOutOfTrash():
item='''update inbox set folder='inbox' where folder='trash''''
parameters=''
cur.execute(item,parameters)
output=cur.fetchall()
conn.commit()
print'done'
deftakeSentMessagesOutOfTrash():
item='''update sent set folder='sent' where folder='trash''''