Repository navigation
tmpmail 0.3.7 stops taking numbered lines for verification codes, keeps saved attachment names usable on Windows, and says when a provider's rate limit is what holds a message back.
Fixed
- No false verification codes from numbered lines. A mail whose lines are numbered (
Line 00001 of …) gave00001as its code inotp, the TUI, the MCP server and the desktop app. A number right after a counting word (line, page, row, order, invoice, ticket, ref,no.,#…) on the same line, or a short zero-padded one with no code word near, no longer counts as a code; a code word in the same sentence or in the subject still finds real codes (Your security code for order no. 552190 is 482913gives482913). deleteon a provider that can't delete messages is refused up front. On DropMail and tempmail.lol,delete --allon an empty inbox said "deleted 0 message(s)" and exited 0, anddelete IDthere said "not found". Both now refuse with exit 64 (--jsonkindunsupported), as documented; so does the MCPdelete_messagetool.- Saved attachment names fit Windows paths.
savecuts a name to at most 200 bytes (was 240), keeping its extension, and on Windows further when the folder's path is long, so the whole path stays within the 259 characters that programs without long-path support (cmd, PowerShell 5.1, many apps) can open. A folder given as\\?\…is left alone; a folder too deep for any name gets a warning. - Sender names that start with
<. In the TUI a sender like<b>Bank</b> <hello@…>lost its first<. The core now has one rule for the display name (render::sender_name), used by the TUI and the desktop app's notifications. - mail.tm's HTML copy of a text-only mail is left out. mail.tm and mail.gw send an HTML version they make of a text-only mail (paragraphs and line breaks), which loses the text's leading spaces (and writes control characters as codes). When that HTML is only the text's own words in paragraphs, it is dropped, so
read --html,--json(htmlisnull) and the desktop app see the mail as it was sent.
Changed
attachmentscuts long names. A name past 60 characters is cut with…, so one long name no longer pushes every row's type and size off the screen.--jsonstill has it whole, andsavetakes the id.- The TUI says when a rate limit holds a message back. While a message loads and a request (to its provider, or one ahead of it) waits out a 429 (tmpmail waits up to 30 s at a time before asking again), the preview says "Loading... mail.tm is limiting requests; retrying in N s." instead of only "Loading...". How long tmpmail waits is unchanged.
- PowerShell completions documented:
tmpmail completions powershell >> $PROFILE.
Library
Additions only: render::sender_name, render::cap_filename, provider::rate_limit_hold and provider::name.