Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When e-mail only has HTML version of the body specified, then Text Version is reconstructed from it which requires another parsing of HTML version. This in turn invokes the "m_AttachFile" tag again and final e-mail would have same file attached twice. This is a problem in the 1st place, because In-Portal shouldn't have any tags, that modify the data in the first place.

Solution

The "kEmailSendingHelper::AddAttachment" method needs to only add new e-mail part (call the "AddPart" method), when no part with exactly same definition exists in that email already. 

Related Tasks

Jira Legacy
serverIn-Portal Issue TrackerSystem Jira
serverId126bf1dc513b375f-b5748291-35223313-8c149d9f-3dd94dfb9de1704c39b1f915
keyINP-1529