Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Send mail messages defined by sections in a notebook
ResourceFunction["SendMailFromNotebook"][nb] takes sections in nb to define mail messages, with the section title being the "To" address, the subsection title being the mail "Subject" and text cells being the mail "Body". | |
ResourceFunction["SendMailFromNotebook"][nb,assoc] appends the elements in the association assoc to the definition of each mail message. | |
ResourceFunction["SendMailFromNotebook"][] opens a basic template notebook for sending mail. |
Open a notebook for composing an email:
| In[1]:= |
| Out[1]= |
Press the Send button in the notebook, or use SendMailFromNotebook on the NotebookObject to send:
| In[2]:= |
| Out[2]= |
Generate the notebook with some elements filled in:
| In[3]:= | ![]() |
| Out[3]= |
Create and save a notebook that you want to send as an email:
| In[4]:= | ![]() |


Send mail from the notebook:
| In[5]:= |
| Out[5]= |
Or send mail with additional elements:
| In[6]:= |
| Out[6]= |
Process multiple emails from a file:

| In[7]:= |
| Out[7]= |
Send the same message to several recipients:

| In[8]:= |
| Out[8]= |
This work is licensed under a Creative Commons Attribution 4.0 International License