Users are experiencing issues with email address changes on a Discourse forum, where confirmation links lead to a 500 error or fail to deliver verification emails. Canapin reports a NoMethodError when confirming a new email, while TallTrees identifies a mismatch in the confirmation URL template between old and new installations, suggesting a outdated custom template. JimPas, an admin, explains that his secondary email fails to receive notifications despite being set, and verification emails are not delivered even after repeated attempts. Myalden notes that the confirmation link redirects incorrectly but works when pasted directly, possibly due to misconfigured DNS or Sendgrid settings. codinghorror suggests checking email template customizations, and Benjamin_D implies the issue may be resolved by correcting DNS or Sendgrid configurations.
When I open the link and click on the “Confirm” button it leads to an error 500:
Oops
The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.
Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.
No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site’s feedback category.
Logs say: NoMethodError (undefined method `update!' for nil:NilClass) lib/email_updater.rb:119:in `update_user_email' lib/email_updater.rb:105:in `block in confirm' lib/email_updater.rb:80:in `confirm' app/cont
I’ve had a problem which arose after my primary email had been changed - and was working for some time. Although I still use the original email as when I set up my forum, the email address I changed to receive post/topic notices worked for a few months and suddenly … nothing. Looking at my profile I saw my Admin email in my preferences. I changed the email back to the one for receiving notifications and I get a “Verification email has been sent”… only it never arrives. I’ve tried this repeatedly and no email is ever sent even though I get the notification that the email has been sent. I’ve even tried to set it as a secondary email address and that isn’t working either.
The email address that is not working through Discourse is a valid address and I am receiving emails from 3 other Discourse forums. When I check my account preferences I see address is shown as “unconfirmed - resend confirmation email”. It’s currently showing the last two attempts I made - after I cancelled about a dozen previous attempts.
I am the Admin. I kept my primary email - the one I used to activate the forum. But in trying to set a secondary email, that fails. Additionally, if I try to change my email in my user preferences, that fails as well. The Dashboard still shows my Admin sign-in email as expected. I am receiving my monthly receipts at the secondary email.
For some time I was receiving notices at the secondary email, but they suddenly stopped. When I checked my preferences it now shows as “not verified”. No matter how many times I resend the verification email, I never receive it.
Hi @codinghorror ,
I use Ver 2.8 beta and I have the same problem with the confirmation email links. They lead to error page were the redirect link starts with url8800…
But works if I copy and past the link that is visible in the body of the message into the browers.