[nodebb-plugin-contact-page] A contact form
-
I am getting this now with the normal mail? This was a test.
I am using mail.com as an email and Custom settings in ACP. It was working before and now not?
..I dont want my personal emails being used.
Maybe someone can recommend the best way to do this? Which email provider is best and fully working?
2021-09-09T12:32:18.483Z [4567/215286] - [31merror[39m: admin.email.test
Error: Unexpected socket close
at Timeout._onTimeout (/xxxxx/xxxxx/nodebb/node_modules/nodemailer/lib/smtp-transport/index.js:189:31)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7) -
@sampo2910 That timeout typically means the service you are attempting to connect to has not responded (it's known as a semaphore timeout) within a set period of time (with TCP, it's typically 30 seconds). I'd check the mail service you are connecting to, so if it's mail.com then you could try a direct connect from the server itself using telnet, so
telnet server.mail.com 25
- obviously, you need the correct host name and port, but this is an example. If it connects, you'll get an SMTP greeting banner. If it doesn't connect, then this is likely the issue, and will need to be resolved before this plugin will work correctly. -
@enot said in [nodebb-plugin-contact-page] A contact form:
@phenomlab except port 25 is server to server, the plug-in will be connecting as a client over tls or starttls on port 465 or 587. So try one of those.
Yes, hence this
obviously, you need the correct host name and port,
-
@enot said in [nodebb-plugin-contact-page] A contact form:
I'm still on my first coffee
Yeah, I know that feeling !
-
Instead of using a Custom service like mail, can I not use an iCloud alias for example?
That would be easier. Choose iCloud in the service and login with the alias? (not sure if need apple app specific password with that)
If these are in the ACP they should work right
-
@sampo2910 Yes, that should work also. You'll probably still need to select "Custom" in the drop down, but I see no reasons why that won't work. I use my own server's SMTP for notifications, and do it in exactly the same way, so I know it works.
-
I chose iCloud in the drop down and put in my alias email address and password.
It says that test email sent 'success' but nothing comes.
The alias is working because I have sent test email to it from another account.
In events it is showing the email [email protected]?
-
@sampo2910 Odd. Did you specify an email addres to send to in the plugin settings ? I don't actually use this plugin myself, so not sure of it's structure.
-
Things only appear in events like that if it is welcome template sent...
If you try any other template 'banned' for example or 'test' then nothing comes in the events list.
So whatever email you are setting up you just dont know if it is working because only certain templates work?? For me it is the welcome one it seems.
Expect a bit better than this to be honest. I have tried Gmail, iCloud and two custom ones and it is all the same.
-
@phenomlab said in [nodebb-plugin-contact-page] A contact form:
@sampo2910 Odd. Did you specify an email addres to send to in the plugin settings ? I don't actually use this plugin myself, so not sure of it's structure.
Yes on the contact page plugin. But the normal email settings none of this is working either now.
Was fine before yesterday to 18.2
-
@sampo2910 Perhaps something in the upgrade to 18.2 broke it ?
-
Its turning into a joke now lol...
Now i get invalid login...I am 100% CORRECT with passwords etc..
Can somebody please tell me the easiest option here and a guide how to do it. If i need to set up a new email address somewhere I will. The options in the drop downs are NOT working.
Of course I need an email account for the site and that email can be properly contacted from the contact page. (currently not displayed for obvious reasons)
-
Can you please take a screenshot of your email settings page? Feel free to block out any sensitive info.
-
@pitaj said in [nodebb-plugin-contact-page] A contact form:
Can you please take a screenshot of your email settings page? Feel free to block out any sensitive info.
This is how it is at the moment. I am using an alias iCloud email with an app specific password. If i use my main iCloud email password I get the same results. So i don't know whats what? If i use the option iCloud in the drop down it also does not work.
-
Have you set up an app-specific password?