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â: ââ
}
}
},