---
name: "mailsubj"
section: "1"
platform: "linux"
package: "qmail"
version: "1.06-6.2~deb10u1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/mailsubj"
---

# mailsubj(1)

send a mail message with a subject line

## NAME

mailsubj - send a mail message with a subject line

## SYNOPSIS

**mailsubj** *subject* *recip ...*

## DESCRIPTION

**mailsubj** inserts *subject* and the list of *recip*s into a mail message:

```
   Subject: subject
   To: recip ...
   body
```

**mailsubj** reads the body of the message from its standard input. Then it sends the message.

Note that *subject* and *recip* must be quoted properly for the message header.

## SEE ALSO

[addresses(5)](/addresses/5.md), qmail-header(8), [qmail-inject(8)](/qmail-inject/8.md)
