function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Danny@ReachLocalDanny@ReachLocal 

Error on Visualforce component on email

 

Looks like we're getting an 'Error! Filename not specified' message on our Visualforce emails,

 

on the line:

 

<c:CoBrandHeaderImage recipientId="{!recipient.Id}"/>

 

recipientType is our 'User' object,

and CoBrandHeaderImage is the below component, which displays our logo

 

<apex:component controller="CoBrandMergeController" access="global">
<apex:attribute name="recipientId" assignTo="{!recipientId}" type="Id" description="Recipient ID"/>
<img src="{!coBrandHeaderUrl}"/>
</apex:component>

 

on testing the template the image displays okay, but on the actual email the error message comes across instead of the logo

 

if anyone have any suggestions on this, please let me know...thanks.