SendMessage
SendMessage[channel,message]
sends a message to the specified channel.
SendMessage[channeldest,message]
sends a message to the destination dest through the specified channel.
Details
- Supported channels include:
-
"Email" email "Facebook" Facebook status update "LinkedIn" LinkedIn status update "MMS" MMS message "SMS" SMS text message "Twitter" Twitter post - Unless otherwise specified, SendMessage will send a message to the user or the account of the user executing SendMessage.
- For channels such as "Facebook" and "Twitter", SendMessage will open a webpage for authentication. This may also happen the first time "SMS" or "MMS" is used.
- For "Email", the default address used will be $WolframID.
- For "SMS" and "MMS", the only destination that can be used is the phone number specified in your account and given by $MobilePhone.
- SendMessage requires internet connectivity and uses external services that require Service Credits to send SMS and MMS.
- The following forms can be used for MMS messages:
-
SendMessage["MMS",obj] a single graphic, image, audio, etc. object SendMessage["MMS",{"text",obj}] text together with a graphic or other object - Media objects sent by "MMS" have a size limit, typically around 500 kilobytes.
- SendMessage always attempts to convert messages to a form suitable for sending through the channel specified.
- SendMessage returns a Success object if it succeeded in sending the specified message, and a Failure object otherwise.
Examples
open allclose all
Wolfram Research (2014), SendMessage, Wolfram Language function, https://reference.wolfram.com/language/ref/SendMessage.html (updated 2018).
Text
Wolfram Research (2014), SendMessage, Wolfram Language function, https://reference.wolfram.com/language/ref/SendMessage.html (updated 2018).
CMS
Wolfram Language. 2014. "SendMessage." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2018. https://reference.wolfram.com/language/ref/SendMessage.html.
APA
Wolfram Language. (2014). SendMessage. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SendMessage.html