value too long for type character varying(128)
update smtp_server set password='<length longer than 128>', port=<port>, server='<server>', secure_mode='NONE', ssl_truststore=NULL, use_authentication='TRUE', user_name='<user@domain>' where org_id='<ORG_ID>'
Cloud Director 10.5.x
This issue will occur when you attempt to use a long password within the email settings.
Cloud Director will hash the password being sent, with the hashing process adding additional length to the string, taking over the 128 characters allowed in the database.
This is not a bug in Cloud Director but simply a character limit that has been exceeded.