Sending Email with Attachment without creating a record

vidhya_mouli
Giga Sage

I have a RP to which users can attach any file. Is it possible to send an email with this attachment without creating a record?

2 REPLIES 2

Marcos Kassak
Kilo Sage
Kilo Sage

Hi @vidhya_mouli,

 

Could you please clarify what you are trying to achieve? We have a functionality under notifications that allows us to include attachments, which can be triggered by an event, record update, or insert. However, the specific implementation will depend on your requirements.

 

 

We have a requirement where no record has to be created after the RP is submitted. It should simply send an email (with attachment). I can easily avoid record insertion by using current.setAbortAction(true). However, without a record, I am not sure how to attach the attachment to the email? 

 

In the RP script, i am triggering an event which in turn will trigger the email notification.