Closed milankonir closed 7 months ago
Thanks for reporting this issue regarding the missing anchor tags in ItemSend. It has been put on our backlog. We, unfortunately, have no timelines to share at this point.
Internal tracking id: Eg: Office: 2865284
Provide required information needed to triage your issue
Your Environment
Expected behavior
Calling
Office.context.mailbox.item.body.getAsync
withOffice.CoercionType.Html
should always return html markup with the anchors that allow consumer to distinguish between parts of the email (current email, signature, reply chain):<a name="_MailAutoSig">
<a name="_MailOriginal">
Current behavior
Calling the
Office.context.mailbox.item.body.getAsync
withOffice.CoercionType.Html
duringItemSend
event will return markup without the anchors. Further more, if theItemSend
event cancels the send, the anchors are not available even in the compose experience anymore.Steps to reproduce
ItemSend
add-in that prevents item to sendLink to live example(s)
Add-in that prevents send during
ItemSend
: https://github.com/milankonir/onsend-prevent-addin ScriptLab gist: https://gist.github.com/decc736b87c9d44a99b2f8c69ac377e9Provide additional details
It looks like, the anchors are removed once user hits the
Send
button. This not only makes them unavailable duringItemSend
, but also when returning to compose afterItemSend
interrupts send.Repro video: https://share.getcloudapp.com/nOuXemev
Context
We need to be able to transform / validate the currently composed email part only. It's critical we are able to distinguish that from the signature and the previous reply chain.
Useful logs
Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.