CA Service Management

Expand all | Collapse all

mail eater and incorrectly formatted emails.

Jump to Best Answer
  • 1.  mail eater and incorrectly formatted emails.

    Posted 02-06-2015 08:29 AM

    Hi team,

    I have another question from our customer regarding mail eater - this is about incorrectly formatted emails. Is there a way how to process emails with " >" on the beginning of each row?

     

    >%SEARCH=CHANGE_ID
    >%CHANGE_ID=820284
    >%FLAG4=1

     

    Sorry for another mail eater question, but I don't have much experiences with this part of SDM since I prefer all other ways of integration.


    Thanks for your suggestions,

    Jakub



  • 2.  Re: mail eater and incorrectly formatted emails.

    Posted 02-06-2015 02:41 PM

    Jakub, I don't think you can configure SDM/mailbox/text_api for this. The incoming email body for the maileater has to be strictly formated

    and there is no configurable way to remove ">" at the begining of the line. Thanks _Chi



  • 3.  Re: mail eater and incorrectly formatted emails.
    Best Answer

    Posted 02-10-2015 03:28 AM

    Hi Jakub,

     

    You can achieve this by modifying the text_api.pl under $NX_Root/bin/ to handle those lines gracefully. I don't have access to a test system to test what and how exactly you should change but it seems like around the line 1045 would be a good place to start. Just get comfy with regular expressions and off you go

     

    Regards,

    Jussi



  • 4.  Re: mail eater and incorrectly formatted emails.

    Posted 02-10-2015 07:02 AM

    Hi Jussi,

    thanks for the great tip! I'll dive it a try

     

    Regards,

    Jakub