send email from jscript

The instructions for crafting email code are here: Javascript Workflow Engine . But what is meant by

‘Acme, Inc.’, //displayed from

title,

in the instructions? IOW, what is displayed from in relation to an email? What is title?

Also I want to send a pdf attachment, actually a pdf of the record I"m sending. How do I do that?

Hi,

You can check the example below. It’s easier to understand the meaning of every parameter.

codes:
mailer.compose(“james@ragic.com”, “jeff@ragic.com”, “support@ragic.com”, “Ragic Support”, “This is title”, “This is Content”);

result:
email

As for sending with a file as attachment, we only accept html and excel so far. You can check “mailer.attach” in instruction for more information.

Best Regards,
James

Can’t we send a pdf in the attachment?

You can refer to Ragic Workflow Engine Documentation — specifically the section about mailer.attach(url), where you’ll find how to convert a form into a PDF.

If you need to attach other files, simply enter the URL of that file.