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
Patcs_1Patcs_1 

Image displayed on visualforce emails

Hi

I have created a visualforce email Template and sending an email through batch class. I can see the below image in the sent email. I have not added any image in Email Template.

User-added image


Any Help would be appreciated. Thanks in Advance!!!
Satish_SFDCSatish_SFDC
Where is the image pointing to.
May be you could check the source of the VF page to see if there are any img tags.
Patcs_1Patcs_1
Hi Sathish

Thanks for your reply!!!

There is no image tag available in Visualforce page, but i could see this in Emails.
krish99krish99
@Patcs_1

  can you share your code. once
Patcs_1Patcs_1
Hi Krish

Below is the code..

<messaging:emailTemplate subject="Opportunity Close Date Reminder" recipientType="User" relatedToType="Opportunity">
<messaging:htmlEmailBody >
<html>
    <body>
        <br/>
            <table>
                        <tr>
                            <td colspan="2"> Hi {!relatedTo.Owner.FirstName}, </td>
                        </tr> <br/>
                        <tr> </tr>
                        <tr>
                            <td colspan="2"> Please kindly update your Opportunity Close Date to a future date.</td>
                        </tr><br/>
                        <tr> </tr>
                        <tr>
                            <td>Op Name: </td>
                            <td>{!relatedTo.Name}</td>
                        </tr>
                        <tr>
                            <td>Closed Date:</td>
                            <td><apex:outputText value="{0,date,MM/dd/YYYY}">
                                <apex:param value="{!relatedTo.CloseDate}"/>
                                </apex:outputtext>
                            </td>
                        </tr>
                        <tr>
                             <td>ACV:</td>
                             <td>{!relatedTo.CurrencyIsoCode}&nbsp;<apex:outputText value="{!IF(relatedTo.X1st_Year_Net_Booking_Amount__c = 0.00,0.00,'{0,number,###,###,###.00}')}">
                                 <apex:param value="{!relatedTo.X1st_Year_Net_Booking_Amount__c}" />
                                 </apex:outputText>
                             </td>
                        </tr>
                        <tr>
                            <td>Link to Op:</td>
                            <td> <a href= "{!LEFT($Api.Partner_Server_URL_140, FIND(".com/",$Api.Partner_Server_URL_140)+3)}/{!relatedTo.Id}" >{!LEFT($Api.Partner_Server_URL_140, FIND(".com/",$Api.Partner_Server_URL_140)+3)}/{!relatedTo.Id}</a> </td>
                        </tr>
                       
                </table>
                <br/> <br/>
                Thanks,
                <br/>
                Sales Operations<br/><br/>
           </body>
    </html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>

Thanks