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!
-
1Please paste your code as text. This improves accessibility and also allows us to copy-paste your code to make things easier.– sfdcfoxMar 9 at 15:30
1 Answer
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.