|
@@ -50,7 +50,7 @@ office = list(mentor.filtered_firmlist(headers=head, ban=exclude)) # generator
|
|
yag = yagmail.SMTP('claudia.conta.ab@gmail.com', oauth2_file='~/oauth2_creds.json')
|
|
yag = yagmail.SMTP('claudia.conta.ab@gmail.com', oauth2_file='~/oauth2_creds.json')
|
|
month_ = M_mailer.mentor_date
|
|
month_ = M_mailer.mentor_date
|
|
mailer = M_mailer()
|
|
mailer = M_mailer()
|
|
-taxes = mailer.tax_mailer(office, m_list, mentor, yag, send=False)
|
|
|
|
|
|
+taxes = mailer.tax_mailer(office, m_list, mentor, yag, month_, send=False)
|
|
sms = Smslink('A297457A64817C11', 'U7BYbyXCot2I5hvR')
|
|
sms = Smslink('A297457A64817C11', 'U7BYbyXCot2I5hvR')
|
|
# resp = sms.send()
|
|
# resp = sms.send()
|
|
# print(resp.text)
|
|
# print(resp.text)
|
|
@@ -61,6 +61,6 @@ for company, data in m_list.items():
|
|
# print(repr(tax))
|
|
# print(repr(tax))
|
|
sms.message = repr(tax)
|
|
sms.message = repr(tax)
|
|
sms.to = data['phone']
|
|
sms.to = data['phone']
|
|
- # print(sms.to, '\n', sms.message)
|
|
|
|
- resp = sms.send()
|
|
|
|
- print(resp.text)
|
|
|
|
|
|
+ print(sms.to, '\n', sms.message)
|
|
|
|
+ # resp = sms.send()
|
|
|
|
+ # print(resp.text)
|