DTMAIL(1)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’Œ NAME πŸ’Œ

okay so dtmail (user cmd) is literally the desktop mailer β€” your main character app for all things mail. it gives you an easy-to-use interface for viewing, filing, composing and sending electronic mail containers and mail messages. slay. πŸ’…


πŸ› οΈ SYNOPSIS πŸ› οΈ

dtmail [-h]  [-c]  [-fmailfile]  [-a file1  | ...fileN ]

✨ DESCRIPTION ✨

The Dtmail program is a mailer for use on the desktop. It provides an easy-to-use interface for viewing, filing, composing and sending electronic mail containers and mail messages. bestie, it's giving "mail app that actually gets it." πŸ’–

The Mailer provides a GUI-based interface for manipulating electronic mail messages that can have attachments. Use the interface to compose a message, view a message or a container holding messages, load new mail, copy or move messages from one container to another, delete messages, reply to messages, add and delete attachments to a message when composing, and view contents of attachments in a message. The Mailer also provides a mail-pervasive desktop environment by providing a public Tooltalk API. Other clients can use the Tooltalk API to compose and send messages. no cap, that's iconic. 🌈


πŸŽ€ OPTIONS πŸŽ€

  • -a file1 ... fileN β€” Bring up a Compose window with file1 through fileN as attachments. drop those files in, bestie. πŸŽ€
  • -c β€” Bring up an empty Compose window. blank canvas energy. ✨
  • -f filename β€” This specifies the mail file to be loaded in at start up time. Ordinarily, the mailfile pointed to by the environment variable MAIL is read in as the user's inbox. Use of this option overrides the use of the MAIL variable. πŸ‘‘
  • -h β€” Display help for command line options. help is always a vibe. 🫢

🌈 RESOURCES 🌈

The Mailer provides the following resources:

  • Dtmail*Message_List*doubleClickInterval β€” The double click time out (in milliseconds) for the scrolling message header list. Default is 400 milliseconds. ⏱️
  • Dtmail*Message_List*background β€” Color to use for the scrolling message header list background. Default is system dependent. 🎨
  • Dtmail*Message_List*foreground β€” Color to use for the scrolling message header list foreground. Default is system dependent. 🎨
  • Dtmail*Message_List*fontList β€” The list of fonts to use in the scrolling message header list. The list must contain two fonts. The first must be tagged "plain" and is the font used to render the header text. The second must be tagged "attach" and is used to render the attachment indicator. Default is to use system dependent fixed width fonts. πŸ”€
  • Dtmail*Work_Area*Text*background β€” Color to use for the View and Compose window text background. Default is system dependent. πŸ’–
  • Dtmail*Work_Area*Text*foreground β€” Color to use for the View and Compose window text foreground. Default is system dependent. πŸ’–
  • Dtmail*Work_Area*Text*fontList β€” The list of fonts to use in the View and Compose windows. Font tag "plain". Default is to use a system dependent variable width font. πŸ”€

πŸ“ MAIL VARIABLES πŸ“

In addition to the variables recognized by mailx(1), dtmail recognizes those listed below. They can be set by editing your .mailrc file; however, since most of the variables are accessible through the Mailer Options menu, we strongly recommend that you modify them there to reduce the chance of error. Unless otherwise noted, the default for the following variables is off. 🫢

πŸ’‘ bestie, "off unless noted" is the vibe check here β€” don't forget the exceptions!
  • additionalfields β€” A list of header fields to access via the Format menu. This variable can be accessed through the Custom Fields:, Header Field:, and Default Value: portions of the Compose Window category in the Mail Options dialog. πŸŽ€
  • bell β€” The number of times to ring the bell when new mail arrives. This variable can be accessed through the Signal New Mail portion in the Message Header List category of the Mail Options dialog. The default is 0. πŸ””
  • composeinterval β€” The interval in seconds for checkpointing to dead.letter. Default is every 600 seconds (10 minutes). ⏳
  • dontlogmessages β€” This variable controls whether or not the Log Message item is selected in the File Menu in the Compose window. The default is to log messages. This variable can be accessed through the Log all sent messages item in the Message Filing category of the Mail Options dialog. πŸ“
  • expert β€” Set expert mode in which minimal confirmations are requested. This variable can be accessed through the Show confirmation notices check box in the Advanced category of the Mail Options dialog. 😎
  • filemenu2 β€” A list of files from which to initialize the Move, and Copy To menus. These can be absolute pathnames or pathnames relative to the directory specified in the folder variable. This variable can be accessed through the Move Menu and Copy To Menu: scrolling list in the Message Filing category of the Mail Options dialog. πŸ“‚
  • filemenusize β€” Specifies the maximum number of entries in the Move, and Copy To menus. The default is 10. πŸ”’
  • flash β€” The number of times to flash the window or icon when new mail arrives. This variable can be accessed through the Signal New Mail portion of the Message Header List category of the Mail Options Dialog. The default is 0. ✨
  • folder β€” The directory for saving mail files. This variable can be accessed through the Start Looking In item in the Mail Filing category of the Mail Options Dialog. πŸ“
  • headerlines β€” The number of lines to display at a time in the scrolling header list. This variable can be accessed through the Display item in the Message View category of the Mail Options dialog. The default is 15. πŸ‘€
  • hideattachments β€” Hide the attachments pane in the Compose Message window by default. This variable can be accessed through the Show Attachment List item in the Compose Window category of the Mail Options dialog. The default is to show the attachment pane. πŸ“Ž
  • indentprefix β€” When indentprefix is set, the string that it is set to is used to mark indented lines from included messages. The default indentprefix is "> ". This variable can be accessed through the Indent String item in the Compose Window category of the Mail Options dialog. πŸ’¬
  • keepdeleted β€” Don't purge the mailbox of deleted messages when closing (exiting) dtmail. Default is to ask the user if they would like to purge the mailbox on exit. This variable can be set in the Destroy Deleted Messages portion in the Message Header List category of the Mail Options dialog. See quietdelete. πŸ—‘οΈ
  • quietdelete β€” Don't ask for confirmation when purging the mailbox of deleted messages when exiting dtmail. This variable can be set in the Destroy Deleted Messages portion in the Message Header List category of the Mail Options dialog. See keepdeleted. 🀫
  • record β€” The mail file in which to record outgoing messages. You can control recording of outgoing mail on a per message basis by the Log Message item in the Compose window's File menu. The dontlogmessages variable controls whether or not this item is selected by default. The record variable may be set through the Mailbox for Sent Messages: item in the Message Filing category of the Mail Options Dialog. If record is not set and the user chooses to log a message then the message will be saved in ~/sent.mail. πŸ’Œ
  • retrieveinterval β€” The interval in seconds to check for new mail. This variable can be accessed through the Check for New Mail Every: item in the Message Header List category of the Mail Options Dialog. The default is 300 seconds. πŸ“¬
  • saveinterval β€” The interval (in seconds) at which to checkpoint the state of the mail box to disk. Default is 1800 seconds (30 minutes). This variable can be set using the Update Mailbox State item in the Advanced category of the Mail Options dialog. πŸ’Ύ
  • showmsgnum β€” Show message numbers in the scrolling list of message headers. This variable can be set using the Display message numbers item in the Message Header List category of the Mail Options dialog. Default is to not show message numbers. πŸ”’
  • showto β€” Show the "To" field of mail messages in the Header Window if the mail is from the same user that is reading mail (eg. you). This variable is accessed using the Show To: recipient when mail is item in the Message Header List category of the Mail Options dialog. πŸ‘€
  • strictmime β€” Use strict MIME character encoding for outgoing mail. In this case all lines longer than 72 characters are broken with a newline (and a trailing "=" is appended to the line), and all trailing spaces are encoded (appearing as "=20"). Any time character encoding takes place all "=" must be protected and are therefore encoded as "=3d". Note that 8 bit characters are always encoded, even if strictmime is not specified. If you typically send mail to users of non MIME compliant readers you may want to consider not specifying strictmime. This variable can be set by selecting the Use strict MIME character encoding item in the Advanced category of the Mail Options dialog. The default is to use more relaxed character encoding (ie don't break long lines and don't protect trailing spaces). πŸ’€
  • templates β€” A list of name:path pairs to access via the Templates item in the Format menu of the Compose window. name appears in the menu; path is the file included when name is selected. This variable can be accessed in the Template category of the Mail Options dialog. 🧚
  • toolcols β€” Default width of the primary windows (in columns). This variable can be accessed through the item in the Message View category of the Mail Options dialog. πŸ“

πŸ’… MAIL COMMANDS πŸ’…

In addition to the commands recognized by mailx(1) in the .mailrc file, dtmail also recognizes the following commands.

  • ignore [header-field...] β€” Suppress displaying of the specified header fields. Examples of header fields to ignore are Status and Received. The fields are also ignored when the message is printed. This variable can be accessed through the Abbreviated Header item in the Message View category of the Mail Options dialog. πŸ™ˆ

πŸ–¨οΈ PRINTING πŸ–¨οΈ

okay so printing in dtmail has a few routes, and they all ate πŸ’… you can print messages with command invocation by selecting the message or messages you want and then activating the Print... command in the Message pulldown menu in the dtmail menu bar β€” or the Print... command in the Mailer - Messages popup menu that shows up on BMenu Down events in the message list ✨

  • Print command button β€” there’s one at the bottom of the message headers list, and it prints the currently selected messages. In this case the print job starts using the print setup context from the last print command without displaying any of the print setup dialogs 🫢
  • Drag and Drop invocation β€” yes bestie, that’s also a whole option for printing messages πŸ¦‹

Messages containing attachments are printed with summary lines in place of the attachment. You must print attachments individually in separate print job invocations β€” no sneaky bundling there, okay? 😭

You can choose to print multiple messages either as a single print job or as separate print jobs. If you print multiple messages in a single print job, you can choose to separate the messages using a blank line or a page break 🌸

To print a mailbox, use CDE Drag and Drop to drag the icon for the mailbox from the File Manager to the printer icon in the desktop πŸ–¨οΈβœ¨

When you invoke printing β€” whether by command invocation or by drag and drop β€” dtmail displays a Print Setup window that lets you set a number of generic and printer-specific printing options. For example, you can send the output to a file or a printer. In the case of printed output, you can specify how many copies you want. You can also access another window to set options specific to the printer/spooler you are using. For example, you can select paper size, orientation, a banner page title, one- or two-sided printing, and email notification on completion of the print job πŸ‘‘


🌈 ENVIRONMENT VARIABLES 🌈

The following are environment variables taken from the execution environment and are not alterable within dtmail β€” read-only vibes only, bestie πŸ’€

  • HOME= directory β€” the user’s home directory.
  • MAIL= filename β€” the name of the initial mailbox file to read (in lieu of the standard system mailbox). The default is system dependent. See the FILE section.
  • MAILRC= filename β€” the name of the start-up file. Default is $HOME/.mailrc.

πŸŽ€ FILES πŸŽ€

  • System mailboxes:
    • /var/mail/* (Sun)
    • /var/spool/mail/* (IBM)
    • /usr/mail* (HP)
  • /etc/mail/mailx.rc β€” system setup file that is read in before ~/.mailrc.
  • ~/.mailrc β€” start-up file for mail and dtmail.
  • /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtmail β€” executable for the desktop Mailer.
  • /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/app-defaults/&<LANG>/Dtmail β€” application defaults for the desktop Mailer.

and that’s the dtmail user-command manual, footer included β€” consider it acknowledged with a little curtsy, bestie πŸ’–πŸŽ€πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from