How do i send multiple emails to different people using the Thingspeak Matlab Analysis
5 views (last 30 days)
Hi i am wondering isit possible for me to send multiple emails to different people?
I have already been able to send an email to myself personally using the Matlab analysis but i was wondering if i could do this with other email addresses?
What i mean is that if ,my data goes beyond a limit my React function notfies this data change and sends the MATLAB analysis portion to send an email to me and another personnal.
Pls do tell me if this is possible and if so, please do tell me how this can be done
Christopher Stapels on 22 Apr 2020
You can only send emails to your own account, to prevent misuse of the system.
You could use a particular code in the email and a forwarding rule in your own email client to forward emails with thtat code selectively to other people after they are sent to you from ThingSpeak.
Vinod on 22 Apr 2020
The alerts feature is designed to only send emails to the ThingSpeak accout holder. This is to prevent abuse of the service to generate spam emails.
Depending on the email service you use, you can set up rules to forward the emails. Here's an example of setting up rules in Gmail to forward to others. Similar settings are possible in other email services as well.
David Stacer on 26 Apr 2020
You might be able to use as service like https://ifttt.com to send the e-mail.
ThingHTTP to run a Makerwebhook on the IFFT.com side. Then use the Webhook to send the e-mail.
It allows you to pass 3 fields into the WebHook.
Gmail has an API, that might work directly from ThingHTTP. https://developers.google.com/gmail/api/v1/reference/users/messages/send