Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I create an email address as per spec. I get a huge email address

Is there any way to get a smaller email address?

A related question: I have a custom email setting which when I enter this email address it gets cropped. Is there anyway to specify the length for an email field?

I know I could do this by using String type instead of email type. I just wanted to check is there a more elegant solution.


share|improve this question
Do you mean you generated an email address for Email Services and this is the result? – Wes Nolte Feb 19 '13 at 19:35
As stupid as it sounds - can't you contact your email server admin and ask him to set up autoforwarding from "human friendly address" to "SF generated email"? – eyescream Feb 19 '13 at 20:29
This has bitten me as well - maximum length for a User's Email is 80 characters... yet Email Services can have 100+ character addresses :( +1 – bigassforce Feb 19 '13 at 21:13
@user31 that's the crux of the issue. Where you able to get the Email service to generate a smaller field? – dublintech Feb 20 '13 at 9:42
If by chance your org instance gets assigned a shorter Email Services alias, you can delete and recreate the address and luck into one < 80 characters. I ended up using to get around it for a bit. – bigassforce Feb 20 '13 at 10:13

Currently you don't have an control over the email services receiver addresses. You'll need to accomodate the additional length in your settings.

I wasn't aware there was a limit to email field length, that is a pain. Given that custom settings are only accessed by administrators I think giving up the additional validation constraints for email fields in favor of the additional space for a text field is a pretty reasonable design decision.

share|improve this answer

Not sure if you use Google Apps within your company, but one of the things I did to shorten those email addresses up was create a group within Google Apps and have all emails to that group sent to the Salesforce generated email address.

Most email platforms should let you do something similar I would think.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.