Sending Email
| SendMail["To"->address,"Subject"->subj,"Body"->text] | send a basic email message |
| SendMail[...,"Body"->{expr1,expr2,...}] | send arbitrary Mathematica expressions |
| SendMail[...,"Attachments"->file] | send a message with file attachments |
Sending email from Mathematica.
The examples below require that the default mail account settings have been configured in the tab of the dialog.
This sends a basic email message.
| Out[1]= |  |
This sends files as attachments.
| Out[2]= |  |
| Out[3]= |  |
You can also send arbitrary Mathematica 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
Mathematica expressions in the body of the email and attaches them appropriately for email.
| Out[4]= |  |