ImmortalBrain
Cadet
- Joined
- Mar 2, 2019
- Messages
- 4
Hi guys.
I am having issues setting up email notifications using my gmail account.
The error i get is this: [EFAULT] Failed to send email: Connection unexpectedly closed
What i have set up right now:
FreeNAS-11.2-U2.1
Root user config -> mymail@gmail.com
From E-mail -> mymail@gmail.com
Outgoing Mail Server -> smtp.gmail.com
Mail Server Port -> 587
Security - > TLS
SMTP Authentication -> checked
Username -> mymail@gmail.com
Password -> 2step auth password for mymail@gmail.com
DNS and Default Gateway are filled in correctly.
I have access to internet.
I can resolve and ping smtp.gmail.com
I can "telnet smtp.gmail.com 587", send EHLO and send STARTTLS, after that i quickly get "Connection closed by foreign host", but as far as i know this is how it is supposed to be with telnet.
Using the exact same settings i am able to send mail from both my Nextcloud instance and my Mikrotik router just fine meaning i probably have set-up my google account correctly (enabled 2-step auth, created a new password)
I am honestly lost what i could've done wrong, any help or ideas would be appreciated.
I am having issues setting up email notifications using my gmail account.
The error i get is this: [EFAULT] Failed to send email: Connection unexpectedly closed
What i have set up right now:
FreeNAS-11.2-U2.1
Root user config -> mymail@gmail.com
From E-mail -> mymail@gmail.com
Outgoing Mail Server -> smtp.gmail.com
Mail Server Port -> 587
Security - > TLS
SMTP Authentication -> checked
Username -> mymail@gmail.com
Password -> 2step auth password for mymail@gmail.com
DNS and Default Gateway are filled in correctly.
I have access to internet.
I can resolve and ping smtp.gmail.com
I can "telnet smtp.gmail.com 587", send EHLO and send STARTTLS, after that i quickly get "Connection closed by foreign host", but as far as i know this is how it is supposed to be with telnet.
Using the exact same settings i am able to send mail from both my Nextcloud instance and my Mikrotik router just fine meaning i probably have set-up my google account correctly (enabled 2-step auth, created a new password)
I am honestly lost what i could've done wrong, any help or ideas would be appreciated.