Sending Email

send a basic email message
send arbitrary Wolfram Language expressions
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 & Mail Mail Settings tab of the Preferences dialog.
This sends a basic email message:
This sends files as attachments:
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: