0

I have a visualforce email template which has a Ical/Calender notification attachment ,which body is handled in a visualforce component. Afte downloading the iCal attachment and opening in a notepad i am getting a whitepace line above the body content. Can anyone please suggest any steps to remove that white space line. Thanks in Advance! enter image description here

enter image description here

Example: enter image description here

1
  • 1
    Please paste your code as text. This improves accessibility and also allows us to copy-paste your code to make things easier.
    – sfdcfox
    Commented Mar 9, 2023 at 15:30

1 Answer 1

0

This is most likely because you added whitespace in the messaging:attachment. Try:

<messaging:attachment filename="EXA_Planned_Work.ics"
><c:EXA_PlannedCaseIcaVFTemp EmailComm="{!relatedTo}" ...
></messaging:attachment>

Notice how I move the > to the next line so that the following < is directly touching without whitespace. This should remove the blank line.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .