Sending Email
SendMail[<"To"->address,"Subject"->subj,"Body"->text >] | send a basic email message |
SendMail[<…,"Body"->{expr1,expr2,…} >] | send arbitrary Wolfram Language expressions |
SendMail[<…,"Attachments"->file >] | send a message with file attachments |
The examples below require that the default mail account settings have been configured in the Internet & Mail ▶ Mail Settings tab of the Preferences dialog.
In[1]:=1

✖
https://wolfram.com/xid/0bpqlq0ke0qkgt-8bxqkz
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0bpqlq0ke0qkgt-kmc0
Out[2]=2

In[3]:=3

✖
https://wolfram.com/xid/0bpqlq0ke0qkgt-kbnihc
Out[3]=3

You can also send arbitrary Wolfram Language expressions within the body of the email. SendMail automatically converts the expressions to an appropriate file format and attaches them (inline, where possible) to the email.
This converts Wolfram Language expressions in the body of the email and attaches them appropriately for email:
In[4]:=4

✖
https://wolfram.com/xid/0bpqlq0ke0qkgt-ciaync
Out[4]=4
