Grant admin confirmation mail not sent

I found a couple of topics on the subject, but none are related to the problem I’m encountering.

I want to grant admin access to a colleague, so I head over to users → x → grant admin.

UI responds that the email is sent and I do expect it in my mail box as I’m the site admin. Alas no mail (also not in spam)

So I check the email log (sent), and I can’t see that the mail is sent - I can’t find any mail of type ‘admin_confirmation_message’

What could be the reason?
How can I debug?

Francis

What is the status of the email you see in admin/email/sent

It should look something like this’

(Post ID: 8032)
/ 250 Ok 010d019599fbc428-94ef9ff4-c956-47d0-8d5a-e5f76f6517a8-000000

Also, what happens if you use the test email functionality, and send to mail-tester.com

1 Like

That’s the point.
There is no entry in the log.

Sending a test mail works without issue.

1 Like

The mail sent to mail-tester is getting a score of 10/10

1 Like

Check the logs of your sending email provider.

Yesterday, someone contacted me with a similar issue. The recipient’s email provider rejected the email, and this was recorded in the sending provider’s logs.

Is the test email sent to the same email address?

2 Likes

Check the logs of your sending email provider.

There is no log because no mail is sent.

Is the test email sent to the same email address?

Yes - and well received.

I missed the part where the mail was literally not sent.

Well, no clue then :pensive_face: Sorry!

1 Like

If this is a one off thing, then I would just grant admin rights via CLI

I would just grant admin rights via CLI

CLI - that is new to me. If you have any useful links how to get access to the cli and documentation on the subject - thanks for sharing.

Independently from solving the immediate problem of granting the user admin access, I would like to understand how I could debug the fact that the email is not being send. It might be useful to identify a bug and improve discourse?

You can check out this:

2 Likes

Here you go

1 Like

What would be the reason that there is no mail sent? A configuration setting somewhere? How can I debug it?

1 Like

its a bit long story.
Better you search this meta side (with or without the help of AI) for related topics. You ought to spend some time on this, as there is no sure steps for it. There are multiple things, as far as my limited knowledge says.

Does it work if you use another admin account (or if you change the admin’s email address) to give the admin privileges to a user?