Error: Unexpected socket close
thewolf25 opened this issue · 9 comments
Hello , i have put all the information of my account and i got "Error: Unexpected socket close" .
Hi @thewolf25 could you provide your settings?
Got the same after Google account security section settings are configured
Enable 2 factor authentication and added google App password.
Run dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
server_port: 465
secure: true,
username: ***
password: ***
subject: AutoMobile Seeker
to: ***
from: kubesonar@gmail.com
html_body: file://data.md
convert_markdown: true
env:
pythonLocation: /opt/hostedtoolcache/Python/3.9.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.16/x64/lib
Error: Unexpected socket close
Hi @thewolf25 could you provide your settings?
Hi @jasonm23 here are settings
- name: Send email
uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.gmail.com
server_port: 465
secure: true,
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: 'AutoMobile Seeker'
to: dilan2012salinda@gmail.com
from: kubesonar@gmail.com
html_body: file://data.md
convert_markdown: true
secure: true,
- You don't need that comma, but I doubt it's the cause of the error.
secrets.MAIL_PASSWORD
is your google App password, right?
I'm not 100% sure but I think from will have to match username. You can use from to provide a different textual name "My Product Name", but not a different email address.
username: ${{secrets.MAIL_USERNAME}}
from: kubesonar@gmail.com
for reference I use the action here, and it's fine.
Also, try ignore cert.
Also, try ignore cert.
Thanks @jasonm23 ignore_cert: true
working.
Can the issue be closed @dilansalinda? Please do that.
Sure, issue is resoved. Unfortunately, I am not @thewolf25.
@thewolf25 Please close the issue. This is resolved.
Anyway, Thanks @jasonm23
@dilansalinda of course, happy to help.
@dawidd6 ping to close