You need to sign in to do that
Don't have an account?
Jyoti Trailhead
VisualForce Template omits line breaks when sending out email from apex code
Hi
I have an apex trigger which send an email when there is a respone(by email) related to a case by client - this email action sends an email to Support staff which is using a VF template - when Email is sent to users all line breaks in original email are omitted( I think VF doesn't send out email line breaks and is using Plain text) - is there any way I can convert it into HTML or if I can use HTML template in my apex code(that also doesn't work)
Thanks
Jyoti
I have an apex trigger which send an email when there is a respone(by email) related to a case by client - this email action sends an email to Support staff which is using a VF template - when Email is sent to users all line breaks in original email are omitted( I think VF doesn't send out email line breaks and is using Plain text) - is there any way I can convert it into HTML or if I can use HTML template in my apex code(that also doesn't work)
Thanks
Jyoti
I know BR tags will inlcude a line break - and I have included them when system sends an email - but VF templates are ignoring the breaks provided by user while replying to an email( suppose I did a reply -
"Hi
This is a Test
Thanks
Jyoti"
Now when system records this as an action in action history and when sending an email over that action to Staff - it converts this email to-
"Hi This is a Test Thanks Jyoti" including From Email address and all content of Original email message.
Please let me know if I am clear.
Thanks
Jyoti