Error when creating a folder in a webmail
Problem reported by SEIT - 7/16/2026 at 6:17 AM
Submitted
Hello Everyone, 

I've been encountering this error in the webmail when i try to create a new folder. 

"Cannot read properties of undefined (reading 'length')" 

How do I solve that? Happens to be only on a specific email address and not server-wide or domain wide.
Linda Pagillo Replied
Hey SEIT. I grabbed this from Google. Perhaps it may help...

The "Cannot read properties of undefined (reading 'length')" error in SmarterMail typically occurs when the web interface attempts to evaluate a variable or array that hasn't loaded or returned any data yet (a standard JavaScript issue).
Here is how to isolate and resolve it:
Clear your Browser Cache: Corrupted temporary files in your web browser often cause interface rendering errors in SmarterMail.

Use a Different Browser: Test the interface on Chrome, Firefox, or Edge using an Incognito/Private window. If it works, the issue is strictly local to your browser profile.

Check for Plugin/Extension Interference: Ad-blockers or script-blockers can block core SmarterMail JavaScript files from running, triggering this exact error.

Update SmarterMail: Known scripting and interface bugs are continuously addressed by SmarterTools. Ensure your server administrator has the latest SmarterMail updates installed.

Plesk Integration: If you are managing SmarterMail through Plesk, this error is a known bug associated with domain creation and webspace mapping. It is resolved by ensuring your Plesk SmarterMail components are up to date.
Linda Pagillo
Mail's Best Friend
Email: linda.pagillo@mailsbestfriend.com
Web: www.mailsbestfriend.com
Authorized SmarterTools Reseller
Authorized Message Sniffer Reseller
 
CLEBER SAAD Replied
Hello,

Open a ticket and send more information like the email address and another errors (like F12 - Developer Chrome extension) and get the return of the API (SM it's all API calls)

Reply to Thread

Enter the verification text