Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions _includes/cloudcode/cloud-code-advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,18 @@ Here's an example of the JSON data that would be sent in the request to this web

After setting up your webhook in the Dashboard UI, you'll be acurately decrementing comment counts!

# Sending Emails
If your Parse Server configuration specifies an `emailAdapter`, you can send mail via cloud code using `Parse.Cloud.sendMail`.

```javascript
Parse.Cloud.sendMail({
from: 'Example <test@example.com>',
to: 'contact@example.com',
subject: 'Test email.',
text: 'This email is a test'
});
```

# Config
Parse Config offers a convenient way to configure parameters in Cloud Code.

Expand Down