csc-cia-stne 0.1.9__py3-none-any.whl → 0.1.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- csc_cia_stne/email.py +7 -5
- {csc_cia_stne-0.1.9.dist-info → csc_cia_stne-0.1.10.dist-info}/METADATA +1 -1
- {csc_cia_stne-0.1.9.dist-info → csc_cia_stne-0.1.10.dist-info}/RECORD +6 -6
- {csc_cia_stne-0.1.9.dist-info → csc_cia_stne-0.1.10.dist-info}/WHEEL +0 -0
- {csc_cia_stne-0.1.9.dist-info → csc_cia_stne-0.1.10.dist-info}/licenses/LICENCE +0 -0
- {csc_cia_stne-0.1.9.dist-info → csc_cia_stne-0.1.10.dist-info}/top_level.txt +0 -0
csc_cia_stne/email.py
CHANGED
@@ -150,7 +150,7 @@ class Email():
|
|
150
150
|
}
|
151
151
|
|
152
152
|
|
153
|
-
def send_email( self, to : list , message : str , title : str , reply_to: str, attachments : list = [] , cc : list = [] , cco : list = [], from_mask: str = "" ) -> dict:
|
153
|
+
def send_email( self, to : list , message : str , title : str , reply_to: str, attachments : list = [] , cc : list = [] , cco : list = [], from_mask: str = "", block_by_attachments:bool=False) -> dict:
|
154
154
|
"""
|
155
155
|
Envia um email com os parâmetros fornecidos.
|
156
156
|
Args:
|
@@ -227,10 +227,12 @@ class Email():
|
|
227
227
|
|
228
228
|
except Exception as e:
|
229
229
|
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
230
|
+
if block_by_attachments:
|
231
|
+
|
232
|
+
return {
|
233
|
+
'status':False,
|
234
|
+
'error':str(e)
|
235
|
+
}
|
234
236
|
|
235
237
|
msg.attach(MIMEText(message, 'html'))
|
236
238
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
csc_cia_stne/__init__.py,sha256=jwLhGpOwFCow_6cqzwLn31WcIrMzutMZtEQpLL4bQtM,2638
|
2
2
|
csc_cia_stne/bc_correios.py,sha256=pQAnRrcXEMrx3N1MWydZVIhEQLerh3x8-0B045zZIzk,24174
|
3
3
|
csc_cia_stne/bc_sta.py,sha256=sE-aU-ZVSAqryQrT1-nor9eAFM5npNAKF1QSm-ChhGU,28945
|
4
|
-
csc_cia_stne/email.py,sha256=
|
4
|
+
csc_cia_stne/email.py,sha256=y4xyPAe6_Mga5Wf6qAsDzYgn0f-zf2KshfItlWe58z8,8481
|
5
5
|
csc_cia_stne/ftp.py,sha256=M9WCaq2hm56jGyszNaPinliFaZS0BNrT7VrVPMjkMg4,10988
|
6
6
|
csc_cia_stne/gcp_bigquery.py,sha256=foq8azvvv_f7uikMDslX9RcUIrx7RAS-Sn0AGW0QFQc,7231
|
7
7
|
csc_cia_stne/gcp_bucket.py,sha256=nP77BtagZ7jQq6lS88ZEa1qshzBza6e_LvhgS3_JJJk,10268
|
@@ -36,8 +36,8 @@ csc_cia_stne/utilitarios/web_screen/__init__.py,sha256=5QcOPXKd95SvP2DoZiHS0gaU6
|
|
36
36
|
csc_cia_stne/utilitarios/web_screen/web_screen_abstract.py,sha256=PjL8Vgfj_JdKidia7RFyCkro3avYLQu4RZRos41sh3w,3241
|
37
37
|
csc_cia_stne/utilitarios/web_screen/web_screen_botcity.py,sha256=Xi5YJjl2pcxlX3OimqcBWRNXZEpAE7asyUjDJ4Oho5U,12297
|
38
38
|
csc_cia_stne/utilitarios/web_screen/web_screen_selenium.py,sha256=JLIcPJE9ZX3Pd6zG6oTRMqqUAY063UzLY3ReRlxmiSM,15581
|
39
|
-
csc_cia_stne-0.1.
|
40
|
-
csc_cia_stne-0.1.
|
41
|
-
csc_cia_stne-0.1.
|
42
|
-
csc_cia_stne-0.1.
|
43
|
-
csc_cia_stne-0.1.
|
39
|
+
csc_cia_stne-0.1.10.dist-info/licenses/LICENCE,sha256=LPGMtgKki2C3KEZP7hDhA1HBrlq5JCHkIeStUCLEMx4,1073
|
40
|
+
csc_cia_stne-0.1.10.dist-info/METADATA,sha256=UtlOaLEo2hxXI6rlOZ3NHr0TAotyIEz5tL0oW7mPFH4,1464
|
41
|
+
csc_cia_stne-0.1.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
42
|
+
csc_cia_stne-0.1.10.dist-info/top_level.txt,sha256=ldo7GVv3tQx5KJvwBzdZzzQmjPys2NDVVn1rv0BOF2Q,13
|
43
|
+
csc_cia_stne-0.1.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|