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
Kenji776Kenji776 

Modifying the send email feature from cases

Hey all,
I got a  new request today that I think should be possible, but I can't think of a good way to do it. Here is the request:

"Can we make it so that when you send the first email from a case that was not created by an email, it pulls the description into the body, and the case subject into the Email Subject?"

Basically it just needs to look at the case origin. If the origin was not email, make the email grab the subject from the case subject line and the body from the case description area. Any idea if this is something that can be done?
Kenji776Kenji776
Thanks for the link.
Very useful information, I appreciate it.
Kenji776Kenji776
Hey I've been fooling around with this a bit and found out a few things

1) You can pass the subject and email body (p6 is the subject, p7= body) which are not documented.

2) When trying to use an email template the text body pulls through fine, but the attachment does not work. Any ideas?

I've tried guessing like I did for passing the subject and body, but nothing works for the attachment. I have tried attachment_id and attach_id but no luck. Let me know if you can think of anything. Thanks.