ERPNEXT Issue while sending email ( via email queue ) which was not sent

I’ve got an issue while sending an email via erpnext , it was not sent so tried to resend it via "resend now " via email queue and got the following issue :
Encryption key is invalid! Please check site_config.json
If you have recently restored the site you may need to copy the site config contaning original Encryption Key. any advice ?

Do one of these:

  1. Replace the encryption key in site_config.json if you have restored site from sql recently.
  2. Delete email domain and set it again. In email account list, delete and set emails again. It will create new encryption key itself.
1 Like

greetings and many thanks Anupd for the clarification