At the moment, I’m not overriding the entire file I’m just inspecting the original OutboundEmailAccounts.php file to understand the behavior. I’m noticing that even before hitting the save() method, $this->mail_smtppass already contains the previous password (encrypted via Blowfish).
I’m trying to figure out where this old password value is getting injected possibly somewhere before save()
I’ll dig deeper into where the object is first instantiated and where the fields are assigned maybe in SugarController or one of the SugarBean::populateFromPost() methods. Will update once I trace it.