+ Start a Discussion
SushupsiSushupsi 

AutoPopulating the BCC field in Outlook on clicking an E-mail Field

Hi All,

 

I have a weard requirement, but unable to understand how it could be met.

 

:smileysad:

 

 My requirement is to integrate with out look at the same time, it says that using the standard functionality provided by salesforce of populating the "To" in outlook "New Mail" Page , i need to populate the "Bcc" in similar way.

 

Could any one suggest a work around in Javascript etc; It would be a great  help.

 

I am also currently working on the same. Hope it could be resolved soon.

 

TIA

 

- Sushupsi

Best Answer chosen by Admin (Salesforce Developers) 
SushupsiSushupsi

Hi All,

:smileyvery-happy::smileyvery-happy:

 

I have found a work around for the same. It is as simple as defining a detailed page URL Link.

 

Here is the code that worked for me:

 

mailto:{!Account.Test_Email__c}?bcc={!Account.BCC_Recipient__c}

This has two generic filds from which the emails are picked up.

 

Thanks

-Sushupsi 

All Answers

Rasmus MenckeRasmus Mencke

You can create a standard mailto link  

<a href="mailto:test@test.com?bcc=someuser@somedomain.com&">click here to send email</a>

 

<a href="mailto:test@test.com?bcc=someuser@somedomain.com&">click here to send email</a> 

 

When a user clicks this in Salesforce, it will call the default email client on the machine they are connected to. 

 

SushupsiSushupsi

Hi Mencke,

 

Great thanks for your quick reply. But some how i am unable to get it working.

 

Here is what i did :

 

Created a custom link called "Email Me" which runs onclick Java script. Please find my code below.

 

{!REQUIRESCRIPT("/soap/ajax/13.0/connection.js")} 

<a href="mailto:{!Account.Test_Email__c}?bcc={!Account.Test_Email__c}&">click here to send email</a>

 

Could you please direct me.. Did you mean what i have did or were you refering to creating a field that acts as a hyperlink.

 

TIA

 

-Sushupsi

SushupsiSushupsi

Hi All,

:smileyvery-happy::smileyvery-happy:

 

I have found a work around for the same. It is as simple as defining a detailed page URL Link.

 

Here is the code that worked for me:

 

mailto:{!Account.Test_Email__c}?bcc={!Account.BCC_Recipient__c}

This has two generic filds from which the emails are picked up.

 

Thanks

-Sushupsi 

This was selected as the best answer