updated the main menu loop so that it's possible to send live emails. Converting the OrderDate variable to a time object it can be formatted in the email body. Switched to send_message to handle Cc and Bcc better. Now sending from Matt's email. Test email set to external address. Matt cannot use mail relay for external mail, waiting for Keystone to advise.
This commit is contained in:
4
main.py
4
main.py
@@ -11,9 +11,9 @@ while running is True:
|
||||
invoiceNumber = str(input())
|
||||
InvoiceDatabase.load_sheet(invoiceNumber)
|
||||
elif option == 2:
|
||||
sendEmail.send_email(True,'ALL')
|
||||
sendEmail.send_email(True, 'ALL')
|
||||
elif option == 3:
|
||||
sendEmail.send_email()
|
||||
sendEmail.send_email(False, 'ALL')
|
||||
elif option == 4:
|
||||
running = False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user