+ Start a Discussion
Natraj Subramani 15Natraj Subramani 15 

Custom Button Email URL Hack

Hi All,

I have created a new custom button to send email. I was able to modify the custom button url to defaul 
To Address
Subject

I was also able to default the from address using p26 option. The issue is I would like to default the value to one of the org wide email addresses set.

How do we set from address in the custom button URL to include org wide email address. I tried the below options.

&p26="xxxx@xxx.com" - This works fine but the from drop down shows the same value twice (one from ord wide and one from URL)

&p26={!$ObjectType.OrgWideEmailAddress} - When I specify id or name it says invalid
&p26="org wide id" - This only displays the id in the from field.

Any suggesitons, please let us know.

Thanks
Natraj