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

Sending email from the Wolfram Language.

The examples below require that the default mail account settings have been configured in the Internet Connectivity Mail Settings tab of the Preferences dialog.

This sends a basic email message.
In[1]:=
Click for copyable input
Out[1]=
This sends files as attachments.
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[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]:=
Click for copyable input
Out[4]=