I Setup my new ghost website and everything works great (i think ) except user registration.
What should i setup to make this feature live?
Should i do smth in DNS settings? Or maybe i should do some email configuration, but i canāt find where and how
Have you set up transactional mail, and tested that it works on the server?
learned the hard way:
make sure your host allows SMTP. Mine didnāt and i was pulling my hair with a bunch of mail config possibilities.
the VPS host now opened up port 25 and this config works for me with mailgun:
āmailā: {
ātransportā: āSMTPā,
āoptionsā: {
āserviceā: āMailgunā,
āhostā: āsmtp.mailgun.orgā,
āportā: 25,
āsecureā: true,
āauthā: {
āuserā: āmymailgunaddress@mydomain.comā,
āpassā: āsmtpLongPasswordFromMailgunDomainSettingsSMTPCredentialsā
}
}
},
good luck
This is common with most ISPs and hosts. However, you should opt for port 587, which supports TLS and is the new standard for secure SMTP submission.
I configure my mailgun account and activate it
I add my domain and verify it (to send mails from email.mydomain.com)
than i edit my ghost config:
and i check if 587 is open:
And i still have problem. What i should do next?))
Use "secure" : false,
and "requireTLS" : true,
in the config⦠TLS negotiates over plain text first.
PROBLEM WAS SOLVED:
HERE IS THE FINAL CONFIG:
āmailā: {
āfromā: āāGachimuchi Loverā postmaster@anal-mentoring.comā,
ātransportā: āSMTPā,
āoptionsā: {
āhostā: āsmtp.eu.mailgun.orgā,
āportā: 587,
āauthā: {
āuserā: āpostmaster@anal-mentoring.comā,
āpassā: āā
}
}
},