Skip to main content
Solved

MailListener Modify subject of API response mail


Forum|alt.badge.img+10

Hi,

When Customer using the Mail Listener a email is send back with API Response , when they fill in a e-mailaddress in the “mail” parameter of the API Body.

 

By default the response Subject is: Astea Alliance API Response.

The question is, can we modify the subject so it will include the request id and/or refno of customer?

 

Thanks,

Robin.

 

 

Best answer by Phil Seifert

Hi Robin,

After a quick discussion with development, the subject of the email is hardcoded and not user configurable thus no option to adapt to include the request id or refno in the subject.

Sorry, this would require code changes to adapt to determine if an API requires a changed subject subject in the email response, pull the data from the linked document or customer, etc.  As it stands right now, it is a hard string defined in the code.

 

View original
Did this topic help you find an answer to your question?

3 replies

Phil Seifert
Ultimate Hero (Employee)
Forum|alt.badge.img+24
  • Ultimate Hero (Employee)
  • 1312 replies
  • April 24, 2025

HI Robin,

I am not sure this is possible without code changes but am inquiring with R&D to be sure.

Reason, the email listener is used for different things, not just for responding to order information.  For example, there could be meter readings submitted this way or knowledge base searches.

 


Phil Seifert
Ultimate Hero (Employee)
Forum|alt.badge.img+24
  • Ultimate Hero (Employee)
  • 1312 replies
  • Answer
  • April 24, 2025

Hi Robin,

After a quick discussion with development, the subject of the email is hardcoded and not user configurable thus no option to adapt to include the request id or refno in the subject.

Sorry, this would require code changes to adapt to determine if an API requires a changed subject subject in the email response, pull the data from the linked document or customer, etc.  As it stands right now, it is a hard string defined in the code.

 


Forum|alt.badge.img+10
  • Author
  • Hero (Customer)
  • 59 replies
  • April 24, 2025

Hi Phil,

Thank you, i think we can create some mail triggers our self with a custom subject and mail body that is triggert when Order is created by MailListener.

 

Robin.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings