import sys SMTP_TO = sys.argv SMTP_TO = SMTP_TO.split(',') SMTP_FROM = sys.argv SUBJECT = sys.argv MESSAGE = sys.argv TEXT_FILENAME = sys.argv SMTP_USERNAME = sys.argv SMTP_SERVER = 'smtp.domainx.com' SMTP_PORT = 25 SMTP_PASSWORD = '' # now construct the message import smtplib, email from email import encoders import os msg = email. I commented out line 1, and it returned the same message for line 3.I am using the following code to send an email using VBA. I think this is due to more than one email address in the '. Is there a way of adapting the code to allow multiple email addresses?
If I select one option it will send an email to the email specified. Full Name ' You can add other files by uncommenting the following line.
For this purpose, it is necessary to get backup of Whats App conversations / chats and restore them later.