You need to sign in to do that
Don't have an account?
ag_force
email.sethtmlbody is not working for outlook
Hello, Anyone here already experienced using email.sethtmlbody and to send emails to outlook? Its not working for me but when using setPlainTextBody, its working.
What exactly is not working? Are you using anchor tag?
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hello Ankit,
I'm not receiving any emails to my outlook using email.sethtmlbody but when I'm pointing my email to yahoo or gmail, I can received. As per my test, I tried using email.setPlainTextBody and it works for outlook. Yes, I'm using an anchor tag.
sethtmlbody
// email.sethtmlbody( 'Hello'+' '+tempList.Name+' '+',<br />Below is the link to approve or decline the timesheet for period'+' '+getPeriod.Name+' and project'+' '+getPeriod.Project__r.Name+'<br /><a href="https://testcloud-portal-developer-edition.na9.force.com/apex/ApproverLink?pid='+tsDay+'">Click Here</a>');
setPlainTextBody
// email.setPlainTextBody( 'test');
Anyone, please give me an update with this issue.