Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Character limit of email_address field on the table sys_email_client_from_address

MoritzThomS
Tera Contributor

Hello everyone,

 

we are currently in a situation where we want to adjust the 'From' & 'Reply-To' address for certain email client templates. For that we created a record on the sys_email_client_from_address that is referenced from the respective sys_email_client_template record. This worked just fine until we got the requirement to also adjust the display name of the mail being sent, according to our research and tests this can be achieved using this format:

'Custom Name <test@customdomain.com>'

 

We now have the issue that our required combination of Name + Address is longer than 40 characters which is the maximum character limit of the 'email_address' field.

Now to our question, is it safe to adjust the dictionary so that e.g. 80 characters are allowed here, or do we risk breaking something in the backend?
If this is not an option which other options do we have to reach our goal of having custom Mail Sender Name + Address for certain mail templates?

 

 

Any help or guidance you can provide would be much appreciated. 

1 ACCEPTED SOLUTION

just check inbound and outbound flows does not break

If system are able to sende/receive emails successfully after making this change, I think you should be good.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn

View solution in original post

5 REPLIES 5

RaghavSh
Mega Patron

@MoritzThomS Changing OOB dictionary fields is not recommended. 

I personally do not think that it will break anything as valid emails can be upto 256 characters but this should undergo rigorous testing if these changes are made.


Please mark the answer correct/helpful accordingly. 


Raghav
MVP 2023
LinkedIn

Okay but can you give more insight on what / where to test the system if we decide to change the field?
We are aware that changes to OOB tables are not recommended but 40 characters seems like a very low limit for a field that should provide configuration options for different email addresses.

just check inbound and outbound flows does not break

If system are able to sende/receive emails successfully after making this change, I think you should be good.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn

Ankur Bawiskar
Tera Patron
Tera Patron

@MoritzThomS 

share screenshots.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader