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
    "Twitter"Twitter post
  • Unless otherwise specified, SendMessage will send a message to the user or the account of the user executing SendMessage.
  • For email, the address used will be $UserEmailAddress.
  • SendMessage always attempts to convert messages to a form suitable for sending through the channel specified.
  • SendMessage returns the message it has actually sent, or $Failed if it could not send anything.

Examples

Basic Examples  (2)

Send a tweet:

In[1]:=
Click for copyable input
Out[1]=

Send an email:

In[1]:=
Click for copyable input
Out[1]=

See Also

ServiceConnect  ServiceExecute  SendMail  ChannelSend

Introduced in 2014
(10.0)