Salesforce 如何通过lightning组件向sendEmail quickaction apI添加附件?

Salesforce 如何通过lightning组件向sendEmail quickaction apI添加附件?,salesforce,apex,salesforce-lightning,Salesforce,Apex,Salesforce Lightning,从顶点到闪电组件的附件 如何将附件从apex返回到lightning组件。以及如何为lightning quick action api添加HtmlBody参数?您需要执行以下操作 1.创建闪电流动作以触发Apex代码。 2.使用apex代码触发电子邮件并附加附件 i need to populate the attachment on send email lightning quick action api. i can able to set the subject to the ema

从顶点到闪电组件的附件 如何将附件从apex返回到lightning组件。以及如何为lightning quick action api添加HtmlBody参数?

您需要执行以下操作 1.创建闪电流动作以触发Apex代码。 2.使用apex代码触发电子邮件并附加附件

i need to populate the attachment on send email lightning quick action api. i can able to set the 
subject to the email quick action, but i need to add the attachment to the email. How can i send the