You said you're using some sort of secure token. How does that work? What's your exact process?
Email+ Error Email+ SMTP Server: SMTP server connection error: Connection unexpectedly closed
connection.sendmail(....)
connection.send_message(msg)
Jun 21, 2022 at 10:38:07 AM
Upgrading plugin Email+ to newer version 2022.1.1 (previous version moved to trash)
Loading plugin "Email+ 2022.1.1" using API v3.0
Starting plugin "Email+ 2022.1.1" (pid 15833)
Started plugin "Email+ 2022.1.1"
Email+ Debug Email+ SMTP Server: Starting device (smtpAccount)
Email+ Debug Email+ SMTP Server: SMTP poll, 0 items in queue
Action Group send a test email - with python
Email+ Debug sendEmailAction queueing message 'Email+ 2021.1.1'
Email+ Debug Email+ SMTP Server: SMTP poll, 1 items in queue
Email+ sending email 'Email+ 2021.1.1' to 'XXXXX@yahoo.com' using Email+ SMTP Server
Email+ Debug Email+ SMTP Server: sending:
From: XXXXX@sbcglobal.net
Subject: Email+ 2021.1.1
To: XXXXX@yahoo.com
Cc:
Bcc:
Date: Tue, 21 Jun 2022 10:38:50 -0400
Message-ID: <165582233063.15833.473244581946264819@1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
If you get this...this is your workaround
Email+ Error Email+ SMTP Server: SMTP server connection error: (554, b'6.6.0 Error sending message for delivery.')
Email+ Debug connErrorTriggerCheck: Checking Triggers for Device Email+ SMTP Server (1059244909)
We're grasping at straws here, but can you try re-generating your "mail key" and trying the new one?
FlyingDiver wrote:Also, try this version: https://drive.google.com/file/d/1-1nuW3 ... sp=sharing
You'll have to move it to the plugins folder manually, as it as the same version number as the previous test version.
# connection complete, send the message
# connection.send_message(msg)
connection.sendmail(msg['From'], all_addresses, msg.as_string())
connection.quit()
# connection complete, send the message
# connection.send_message(msg)
the_email = "From: {0}\nTo: {1}\nSubject: {2}\nDate: {3}\n\n{4}".format(msg['From'],
msg['To'],
msg['Subject'],
msg['Date'],
emailMessage)
connection.sendmail(msg['From'], all_addresses, the_email)
connection.quit()
msg['Message-ID'] = make_msgid()
FlyingDiver wrote:Go back to my last code, and comment out this line:
- Code: Select all
msg['Message-ID'] = make_msgid()
msg['To'] = ",".join(to_addresses)
msg['Cc'] = ",".join(cc_addresses)
msg['Bcc'] = ",".join(bcc_addresses)
msg['Date'] = formatdate(localtime=True)
msg['Message-ID'] = make_msgid()
if len(msg['Cc']) == 0: del msg['Cc']
if len(msg['Bcc']) == 0: del msg['Bcc']
FlyingDiver wrote:Have you had a chance to test the version I posted yesterday?
Users browsing this forum: No registered users and 0 guests