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
Jose María Nicolás ArfelisJose María Nicolás Arfelis 

Link looks different or doesn't work for all Email Accounts when sending automatic emails via email template and Salesforce (needed urgent help)

Hi all,

there is a strange behavior regarding sending automatic emails via Salesforce and using templates based on Visualforce and HTML.
When I send an email with a link, this link appears correctly when the email goes to Gmail, but not when going to Hotmail or my client's email address.
When it goes to Hotmail it appears like:

User-added image
When it goes to my client's email address, the link is displayed this way:

User-added image

On Gmail:

User-added image
The code on the email template invoking that link is:
 
<tr>
     
        <td style="text-align:justify;padding: 20px 0 5px 0;padding: 20px 0 30px 0;color: #153643; font-family: Arial, sans-serif; font-size: 16px; line-height: 20px;">
          <c:email_solicitud_contacto intencion="{!relatedTo}" language_sc="Es"/>     
        </td>
     
     </tr>
The code in the component email_solicitud_contacto is:
 
<apex:component controller="email_solicitud_contacto_controller" id="emailProgramasComponent" access="global">

    <apex:attribute name="intencion" description="La intención de estudio" type="Intencion_de_estudios__c" />
    <apex:attribute name="language_sc" description="El idioma de la solicitud" type="String" assignto="{!language}" />
    <ul>
        <apex:outputpanel rendered="{!language=='Es'}">
            <li><a href="{!intencion.Producto__r.Enlace_Web__c}">{!intencion.Producto__r.Name} ( {!intencion.Producto__r.Edicion_de_Postgrado__c} )</a></li>
        </apex:outputpanel>
        <apex:outputpanel rendered="{!language=='En'}">
            <li><a href="{!intencion.Producto__r.Enlace_Web__c}">{!intencion.Producto__r.Nombre_de_curso_en_ingles__c} ( {!intencion.Producto__r.Edicion_de_Postgrado__c} )</a></li>
        </apex:outputpanel>
        <apex:outputpanel rendered="{!language=='Cat'}">
            <li><a href="{!intencion.Producto__r.Enlace_Web__c}">{!intencion.Producto__r.Nombre_de_curso_en_catalan__c} ( {!intencion.Producto__r.Edicion_de_Postgrado__c} )</a></li>
        </apex:outputpanel>
    </ul>

</apex:component>
Is there something wrong? how can I apply responsiveness here so the link appears the same for all Email Accounts?.
Please people, I need your help, I am realy doing efforts writing this thread, attaching screenshots, codes, so I would appreciate somebody gives me some light here.





 
Jose María Nicolás ArfelisJose María Nicolás Arfelis
Alain thanks for your asnwer, no , there aren't. What it is weird is I can receive an automatic email correctly when the course is another one, I don't understand. I don't think it has to do with anti-spam protection.
Jose María Nicolás ArfelisJose María Nicolás Arfelis
Sad that nobody else answers. In the meantime I found out what is going on but don't understand why.
Would somebody in this Developer Forum be kind to answer the same question I am pointing out here?:

https://success.salesforce.com/answers?id=9063A000000pA0UQAU