Do you have any information on the suitable, compatible HTML format that we should use in the Email Body section for Application Server Tasks? I've noticed that standard HTML formats don't seem to work.
Error: Unexpected event type ySTART_ELEMENT] when reading element text content at 1:239] Caused by: ifs.fnd.base.ParseException: Unexpected event type tSTART_ELEMENT] when reading element text content at t1:239]
Our IFS Turkey consultants have said that they do not have clear information on the subject and that they will conduct research on the matter.
I would greatly appreciate your valuable insights or support.
Best regards.
Page 1 / 1
Hi @fatih.temiz,
You are probably getting this error because you have included the tags such as <html>, <title>, <body> etc.
When formatting the message body, consider that all things are inside the <body></body> HTML tag.
Have a look at below example:
Event Action configurationResulting Email
In the Event Action configuration, notice that the Mail Sender is set as MailSender1. In the Mail Sender configuration, please make sure the content type is set to text/html as shown in below article as well:
Hope this helps!
Hi @Charith Epitawatta ,
Thank you for your response. However, I want to write an HTML for application server tasks, not for an event. When I wrote HTML as you specified, I received the following error.
Hi did you get this resolved? I am getting the exact same error.
Regards Jon
Unfortunately, it hasn't been resolved. I couldn't find anyone who could help. Actually, if the application code were debugged, the correct HTML format could be captured from there.
Hello @fatih.temiz,
Just change “Content Type” to “text/html” in your mail sender at “Setup IFS Connect”.
Then u can try one more time.
If the html block doesnt works in application server and works in event action mail it could be limitation of Application Server Task module. This module has so many limitation actually.
Last option: U can write what u want in database level with html blocks and using command_sys.mail procedure, so it would be table format etc.
Hello @0guz :)
Is there any other parameter that affects IFS’s ability to support HTML tags?
IFS crashes if I put any HTML statement inside the body text field, even though set ‘text/html’ on IFS connect.
Unfortunately, it hasn't been resolved. I couldn't find anyone who could help. Actually, if the application code were debugged, the correct HTML format could be captured from there.
Hello,
Were you able to resolve this?
Hi Everyone,
I have the same issue. I tried with different types of html codes, nothing works. But we changed the Content Type” to “text/html” in mail sender at “Setup IFS Connect”, because of Report Rules engine. But in this case the emails from Application server task is just messed up, and provide 1 line.
This whole Application Server task for sending out Quick reports automatic - we can say - lot of room for improvement.
This is completely instable solution. Looks sometimes drop the task without any reason, Application messages just stuck or failing.
E.g.:
if you add <br>-s in the Email Body, then you setup teh scheduled task, then you come back to this page, you will get:
It looks everything disappeared.
In the application message:
If I removed the <br>-s from the email body, and even if I added a text with line breaks like this:
Dear User,
The attached file contains the supplier master data for: xxx companies from IFS PROD environment.