• Satrianodee
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
I created an email service to attach emails as taks to a custom object. It works great unless the email content is too large, then the email bounces and I recevie an error email "System.DmlException: Insert failed. First exception on row 0; first error: STRING_TOO_LONG, Description: data value too large: max length=32000" Is there anyway to code around this and have the "myplaintext" content truncated before the email is attached or to strip out the salutation? I tried playing around with the myplaintextistruncated command but that didn't help.
Whenever an Activity (Task) is created or modified I need to update the last Updated Date(custom field) on the Related Object (I.e. Case, Account, Contact etc.).
I created an email service to attach emails as taks to a custom object. It works great unless the email content is too large, then the email bounces and I recevie an error email "System.DmlException: Insert failed. First exception on row 0; first error: STRING_TOO_LONG, Description: data value too large: max length=32000" Is there anyway to code around this and have the "myplaintext" content truncated before the email is attached or to strip out the salutation? I tried playing around with the myplaintextistruncated command but that didn't help.