lublak
May 25, 2022, 1:26pm
#1
Describe the issue/error/question
Currently i try to setup smtp with the json file:
{
"protocol": "http",
"host": "localhost",
"listen_address": "0.0.0.0",
"port": 5678,
"executions": {
"process": "main",
"saveDataOnSuccess": "all",
"saveDataOnError": "all",
"saveDataManualExecutions": true,
"pruneData": true,
"pruneDataMaxAge": 336,
"pruneDataTimeout": 3600
},
"generic": {
"timezone": "Europe/Berlin"
},
"userManagement": {
"emails": {
"mode": "smtp",
"smtp": {
"host": "some adresss",
"port": 25,
"secure": false,
"auth": {
"user": "",
"pass": ""
},
"sender": "n8n"
}
}
}
}
Yes user and pass should be empty.
What is the error message (if any)?
But it doesn’t work:
Information on your n8n setup
n8n version: 0.178.2
Database you’re using (default: SQLite): postgres (removed in the config file above
Running n8n with the execution process [own(default), main]: main
Running n8n via [Docker, npm, n8n.cloud, desktop app]: npm
Jon
May 25, 2022, 4:48pm
#2
Hey @lublak ,
I don’t think we support anon auth, If you pop in a username and password does it work? I think there could also be some issues around unencrypted mail servers that we have a dev ticket opened for as well.
lublak
May 26, 2022, 2:28pm
#3
Of course, the smpt server has no login data. Therefore this will not work.
But it works with Send Email:
https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.sendemail/
Jon
May 27, 2022, 2:00am
#4
Hey @lublak ,
The node and the user management smtp setup is not the same thing.
By putting in credentials even if it doesn’t work it would confirm quickly if it is just where the field values are missing.
lublak
May 27, 2022, 1:08pm
#5
If I give the data (even if it is not correct) then it works.
But then of course I can’t send an e-mail.
Jon
May 27, 2022, 3:01pm
#6
That is perfect so it looks like the issue here could be where we don’t support anonymous authentication with the user management feature yet.
BCEVE
June 28, 2022, 5:30am
#7
Is there a place to find all schema options for a JSON config file?
Jon
June 28, 2022, 9:32am
#8
1 Like