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