Setting up Nodebb with Mailjet
-
Never used mailjet but have used Mailgun and it solved some email deliverability issues that's for sure. Setup wasn't any more complex that what you have already had to endure, but it wasn't with NodeBB
I mention it for the value of an alt service you might want to try to rule out mail service provider issues too.
On that note I moved away form elasticmail, can not recommend that service one bit anymore, use at your own peril.
-
@julian said in Setting up Nodebb with Mailjet:
@carlm7 sure, can you double check the value you pasted? Sometimes there are extra spaces etc. that cause the key used to fail.
I checked the values and they are fine, I really wish there was a guide on how to install the plugin properly or get email set up with NodeBB
-
@carlm7 then you'll have to check the permissions on the API key. On some services (e.g. SendGrid) you need to explicitly enable mail sending for the key.
Once the API key works, email should just work.
Alternatively without the plugin you can try using the email settings bundled in NodeBB (in Settings > Email) and put your API key in there.
-
@julian said in Setting up Nodebb with Mailjet:
@carlm7 then you'll have to check the permissions on the API key. On some services (e.g. SendGrid) you need to explicitly enable mail sending for the key.
Once the API key works, email should just work.
Alternatively without the plugin you can try using the email settings bundled in NodeBB (in Settings > Email) and put your API key in there.
Is there meant to be an API key field?
-
@julian said in Setting up Nodebb with Mailjet:
@carlm7 I'm not sure, it may be your login username and password, or your API key and secret. The system bundled in NodeBB is meant to be fairly open ended, so you will have to experiment and see.
I've tried both, restarted the forum both times but no avail.
There's no settings within the Mailjet API keys area to allow send mail.
I even cried custom and input the SMPT info from Mailjet.
Still get this error:
Unsuccessful: Status Code: "401" Message: "API key authentication/authorization failure. You may be unauthorized to access the API or your API key may be expired. Visit API keys management section to check your keys."
-
@julian said in Setting up Nodebb with Mailjet:
It may be time to reach out to Mailjet support now.
... But no, the forum being on a subdomain should make no difference.
So I had a play with stopping the forum and starting it again, as well as re-installing the plugin I have.
I now have a different error
Can't send mail - all recipients were rejected: 554 5.7.1 : Relay access denied
What could this mean?
Thanks for your help.
-
FYI you were still getting the API key error when trying the built in SMTP maker probably because you didn't disable the mailjet plugin.
An emailer plugin always takes precedence.