Environment:
I cannot save a Group Email Account through the Admin UI. Every attempt to save results in an "invalid" error message, regardless of whether I'm creating a new account or editing an existing one.
Steps to Reproduce:
Expected Result: Account should be saved successfully.
Actual Result: Error message "invalid" appears. No further details in the UI.
Browser Console Error:
Uncaught (in promise) invalid
Server Log Error (data/logs/espo-YYYY-MM-DD.log):
[2025-11-28 15:16:40] WARNING: E_WARNING: openssl_decrypt(): IV passed is only 12 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 [2025-11-28 15:16:40] CRITICAL: (0) OpenSSL decrypt failure. :: POST /Email :: /www/htdocs/w020ba72/crm.segelwolf.com/application/Espo/Core/Utils/Crypt.php(99)
Additional Context:
Questions:
This issue is blocking me from using EspoCRM's email functionality. Any help would be greatly appreciated.
Regards
Wolf
- EspoCRM Version: 9.2.5 (upgraded from 9.1.8)
- Server: all-inkl.de shared hosting (Premium plan with SSH)
I cannot save a Group Email Account through the Admin UI. Every attempt to save results in an "invalid" error message, regardless of whether I'm creating a new account or editing an existing one.
Steps to Reproduce:
- Administration → Group Email Accounts → Create
- Fill in all required fields:
- Email Address: wolf@segelwolf.com
- Name: Wolf Knipfer - der Segelwolf
- Status: Active
- Configure IMAP tab:
- Host: w020ba72.kasserver.com
- Port: 143
- Security: TLS
- Username: wolf@segelwolf.com
- Password: [entered]
- Monitored Folders: INBOX
- Configure SMTP tab:
- Host: w020ba72.kasserver.com
- Port: 587
- Security: TLS
- Auth: Enabled
- Auth Mechanism: LOGIN
- Username: wolf@segelwolf.com
- Password: [entered]
- Shared: Checked
- Click Save
Expected Result: Account should be saved successfully.
Actual Result: Error message "invalid" appears. No further details in the UI.
Browser Console Error:
Uncaught (in promise) invalid
Server Log Error (data/logs/espo-YYYY-MM-DD.log):
[2025-11-28 15:16:40] WARNING: E_WARNING: openssl_decrypt(): IV passed is only 12 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 [2025-11-28 15:16:40] CRITICAL: (0) OpenSSL decrypt failure. :: POST /Email :: /www/htdocs/w020ba72/crm.segelwolf.com/application/Espo/Core/Utils/Crypt.php(99)
Additional Context:
- SMTP/IMAP connection tests via telnet work perfectly
- The same credentials work in Thunderbird
- Admin user has proper role and team assignments
- This issue persists after:
- Upgrading from 9.1.8 to 9.2.5
- Clearing cache
- Creating proper Admin role and Team
- Logout/login
Questions:
- Is this a known bug in 9.2.5?
- What is the proper way to create a Group Email Account when the UI is broken?
- How should email account passwords be properly encrypted for direct database insertion?
This issue is blocking me from using EspoCRM's email functionality. Any help would be greatly appreciated.
Regards
Wolf

Comment