1

it has to print :

csedeep7@gmail.com

<apex:outputField value="{!contact1.email}"/>

it is printing like this :

csedeep7@gmail.com [ Gmail]

can i know what is the issue

5
  • What data type is the 'email' field? Jan 23, 2014 at 11:56
  • datatype is email standard field
    – Teja
    Jan 23, 2014 at 12:01
  • 1
    Thats most odd, what does it do for other none gmail email addresses? Jan 23, 2014 at 12:11
  • i have kept outputtext instead of outputField it is coming fine
    – Teja
    Jan 23, 2014 at 12:14
  • Teja, if that solved your issue, feel free to post it as an answer rather than your comment. Jan 23, 2014 at 12:41

4 Answers 4

1

This occurs if you have the gmail integration in setup enabled, and you use outputField, the gmail link is automatically included. This is true regardless of PDF or HTML rendering mode, consistent with the standard UI. Either turn off the UI link, or use outputText or outputLink (if you want to make the email clickable).

1

This is because you are using Salesforce Standard Email Field, try making use of text field.The Standard Salesforce Email link will have Email hyperlink if you have enabled gmail integration.

1

keep outputtext instead of outputField it is coming fine

1
  • Please select an answer if it is a valid solution :) Jan 29, 2014 at 14:46
0

AS @sfdcfox explained this is the issue with gmail Integration. You have to Deselect the "Gmail Buttons and Links" in Google Apps --> Settings if you don't want GMAIL Suffix

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.