Send the current capture to someone via your default Windows mail client. Two modes are supported — attachment and inline paste.
Both commands require HasCapture == true. Both are backed by IEmailService, which uses the Windows mailto: shell handler — the same one a browser invokes when you click an email link.
Send as Attachment
- Click the Email button → Send as Attachment.
- Tex renders the capture (plus annotations) to PNG in a temp folder.
- Your default mail client opens a new message with the PNG attached.
- Add a recipient, subject, and body, then send.
Behind the scenes this calls EmailAsAttachmentCommand, which invokes the mail client with the temp file attached via shell arguments.
Send Inline (Paste into Body)
- Click the Email button → Send Inline.
- Tex copies the image to the clipboard and opens a new mail message.
- Click into the message body and paste (
Ctrl+V). - Add the recipient and send.
This uses EmailInlineCommand — effectively a combined Copy plus Open Mail Client. The mail client does not receive the image directly; you have to paste.
Warning — inline paste only renders as an image in rich-HTML-capable clients (Outlook desktop, Outlook web, Gmail web, Apple Mail). Plain-text clients will silently drop the pasted image. If the recipient sees an empty body, switch to Send as Attachment instead.
Which to Use
| Use case | Command |
|---|---|
| Recipient needs the file to archive or forward. | Send as Attachment. |
| You want the image visible when the recipient opens the email, without needing to open an attachment. | Send Inline. |
| Your mail client is unknown or minimal. | Send as Attachment. |
| You need to embed the image alongside other pasted content. | Send Inline. |
Default Mail Client
Tex does not configure a mail client itself — it hands off to whatever Windows has registered under Settings → Apps → Default apps → Mail. If no default is set, the command fails silently. Set one up once, and both email commands work for every capture thereafter.
Related
- Save the image and attach it manually: see 08.1.
- Copy the image and paste it anywhere: see 08.2.