Hi all, hoping for some assistance with an example script. I have been trying for about 3 days to get this to work and I'm tearing out my hair.
I have made a custom button that works, and is displayed on the record details page. I can get it to send a blank email..
All I need to do is send all fields of the currently displayed record to a fixed email address. The "from" and "reply to" in the email need to be those of the currently logged in users.
I know this should be SO simple, and I'm trying to learn php at the same time as developing the app, but this is really making me feel stupid.
If anyone has a script already that does this function, I'm hoping to save another 3 days of my life by using it as a template. I've read the documentation, but there's nothing specific about how to do the sql bit to get the current record. Please can anyone help? Thank you.
I have made a custom button that works, and is displayed on the record details page. I can get it to send a blank email..
All I need to do is send all fields of the currently displayed record to a fixed email address. The "from" and "reply to" in the email need to be those of the currently logged in users.
I know this should be SO simple, and I'm trying to learn php at the same time as developing the app, but this is really making me feel stupid.
If anyone has a script already that does this function, I'm hoping to save another 3 days of my life by using it as a template. I've read the documentation, but there's nothing specific about how to do the sql bit to get the current record. Please can anyone help? Thank you.