You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sms(A, 'tmobile', '[email protected]', PASSWORD, mms=True, subject=f"Test", contents=msg) sms(B, 'tmobile', '[email protected]', PASSWORD, mms=True, subject=f"Test", contents=msg)
results in the message only being sent to A then prints out "[Errno 8] nodename nor servname provided, or not known Unhandled error sending mail." but is not caught in an except statement
The text was updated successfully, but these errors were encountered:
I also encountered this problem. Circumnavigated the issue by creating a separate Python helper file in the same directory as the main script and invoked the helper with os.system for each call.
(Note: the use of f-strings here requires Python version >= 3.6.)
sms(A, 'tmobile', '[email protected]', PASSWORD, mms=True, subject=f"Test", contents=msg)
sms(B, 'tmobile', '[email protected]', PASSWORD, mms=True, subject=f"Test", contents=msg)
results in the message only being sent to A then prints out "[Errno 8] nodename nor servname provided, or not known Unhandled error sending mail." but is not caught in an except statement
The text was updated successfully, but these errors were encountered: