Skip to main content
Contributor ⭐️⭐️⭐️
Oct 29, 2019 11:50 PM UTC

Programs should trim whitespace on email address fields

If an email address is entered into the reply to, from email, or To fields, and there is a leading or trailing whitespace, the email is accepted, but when the program attempts to run, the email will fail to send for anyone due to the email address being considered invalid.

 

It’s a very simple mistake for someone to paste in an email with a single leading or trailing whitespace, so rather than treating the address as “valid” in the sense that it can be saved, and simultaneously “invalid” in the sense that it blocks outreach, Gainsight should automatically look for an trim the whitespace. This could be safely done because an email address will never start or end with whitespace.

Alternatively, though not quite as user-friendly as solutions go, a simple validation error could be used. Do not allow for addresses with leading/trailing whitespace to be saved, and throw an error message calling out that error.

3 replies

sai_ram
Expert ⭐️⭐️
Nov 26, 2019 10:49 AM UTC

@tyler_tew Thanks for bringing this up! we will consider this and push the fix soon. I will update here once we push this to release. 

 

Translate
alex_legay
Helper ⭐️⭐️⭐️
Mar 12, 2020 2:38 PM UTC

This came up today with a customer. Hoping we can add some validation for this. They typed or pasted in a from email and it had a trailing space. Sending a test preview didn’t indicate any sort of error.

Translate
nitisha_rathi
Expert ⭐️⭐️
Mar 27, 2020 7:29 AM UTC

We will pick it up soon. Thanks for sharing.

Translate