Hello!
I can’t add staff to Ghost after I had updated to 4 version.
There is no invitation on email.
Before updating everything was fine, emails was in inbox. Maybe I need to change smth in my new Admin panel?
As far as I know, transactional emails (like when someone registers, you add staff, user forgets password,etc.) do not use Mailgun bulk mail config but uses the mail configuration in config file as described here.. Not to confuse you, you can also configure to use Mailgun for transactional emails using your config file but it is not required, you can use any SMTP server,
So double check your email config and also see if there are any log messages indicating what may be the problem
Thank you!
Are you sure that for adding staff I don`t need use Mailgun?
Somebody correct me if I’m wrong…
You don’t need to use specifically Mailgun. You can use any SMTP server, Mailgun, Gmail, AWS, or any other. It does not matter. But you have to have one configured in your config. I am attaching the image from Ghost documentation here that highlights the difference between transactional and bulk emails(newsletters)
Should I do it if Gmail suits me? It is not by default?
If not could you please help me with
How can I do this?
I will be very grateful)
I have not configured Gmail myself, as I have my own SMTP server. This document seems to explain the settings for Gmail SMTP (not sure of they are up to date)
Email settings in config will be like :
“mail”: {
“transport”: “SMTP”,
“from”: “’[Your Name]’ email@gmail.com”,
“options”: {
“host”: “[SMTP server host name]”,
“port”: 465,
“secureConnection”: true,
“auth”: {
“user”: “email@gmail.com",
“pass”: “[YOUR PASSWORD]”
}
}
},
Again, I have not tried Gmail myself, so these settings may need a bit of tweaking. I don’t have time today to configure/verify them, but I may be able to take a look later
Today I have seen logs. They says:
Uncaught Error: Request was rejected because user is not permitted to perform this operation.
Whole description
vendor.min-1d0e4f046c2a602700d3667894edc116.js:9171 Uncaught Error: Request was rejected because user is not permitted to perform this operation.
at e._createCorrectError (vendor.min-1d0e4f046c2a602700d3667894edc116.js:9209)
at e.handleResponse (vendor.min-1d0e4f046c2a602700d3667894edc116.js:9207)
at e.handleResponse (ghost.min-0b6e9b2a2da4a18970ef236c4770889a.js:2312)
at e.n [as handleResponse] (vendor.min-1d0e4f046c2a602700d3667894edc116.js:2370)
at e. (vendor.min-1d0e4f046c2a602700d3667894edc116.js:9196)
at l (vendor.min-1d0e4f046c2a602700d3667894edc116.js:622)
at Object.fireWith [as rejectWith] (vendor.min-1d0e4f046c2a602700d3667894edc116.js:623)
at A (vendor.min-1d0e4f046c2a602700d3667894edc116.js:906)
at XMLHttpRequest. (vendor.min-1d0e4f046c2a602700d3667894edc116.js:917)
I suppose that administrator doesn`t have rights to add staff. But on UI shows success message:
Invitation sent!
This error is shown only after click on other menu item. Before update as it should be admin could add staff. @staff
@daniellockyer
Might your command please investigate this?