You need to sign in to do that
Don't have an account?
Discard the email excess string
In my inbound Email handler class i have a email feild, Sometime i am getting the email field like this
test@gmail.com<mailto:Email=test@gmail.com> in salesforce end and record is not getting created.
I could not figure out why is this happening.
out of this string --> test@gmail.com<mailto:Email=test@gmail.com> how to extract test@gmail.com and insert in my field.
String[] Name = stringTest[1].split(':');
Email = Name[1];
Please help me in figuring out !!
String[] Name = stringTest[1].split(':');
if{
name.contains('<');
name.split('<');
else
Email = Name[1];