![Send Email avatar](https://images.apifyusercontent.com/LOYA2dh7NCNFd9y-y_zEmP2ZveYUvku_UY-ZySGf2sE/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9lNjQzZ3FmWmFlMlRmUUViQS9EeFhuUWh4dWFrWG5xblN4Yi1JTUdfNzYzNS0wNi5wbmc.webp)
Send Email
Try for free
No credit card required
View all Actors![Send Email](https://images.apifyusercontent.com/LOYA2dh7NCNFd9y-y_zEmP2ZveYUvku_UY-ZySGf2sE/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9lNjQzZ3FmWmFlMlRmUUViQS9EeFhuUWh4dWFrWG5xblN4Yi1JTUdfNzYzNS0wNi5wbmc.webp)
![Send Email](https://images.apifyusercontent.com/LOYA2dh7NCNFd9y-y_zEmP2ZveYUvku_UY-ZySGf2sE/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9lNjQzZ3FmWmFlMlRmUUViQS9EeFhuUWh4dWFrWG5xblN4Yi1JTUdfNzYzNS0wNi5wbmc.webp)
Send Email
apify/send-mail
Try for free
No credit card required
The actor automatically sends an email to a specific address. This actor is useful for notifications and reporting. With only 3 lines of javascript code, you'll be on top of your scraping actors and never miss important results or issues.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "to": "info@apify.com, hello@apify.com",
8 "subject": "Send Email notification"
9}
10EOF
11
12# Run the Actor using an HTTP API
13# See the full API reference at https://docs.apify.com/api/v2
14curl "https://api.apify.com/v2/acts/apify~send-mail/runs?token=$API_TOKEN" \
15 -X POST \
16 -d @input.json \
17 -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
- 179 monthly users
- 69 stars
- 93.5% runs succeeded
- 19 days response time
- Created in Sep 2017
- Modified about 1 month ago
Categories