Skip to content

Unable/how to send plain-text email? #37

@tggagne

Description

@tggagne

I'm trying to send a plain-text message. Specifically, I'm redirecting the output of another command that needs to arrive in a non-proportional font so the output is correctly formatted.

The command looks like:

sendemail \
    -v \
    -s smtpserver:25 \
    -f $LOGNAME@`hostname` \
    -t "$1" \
    -u "$SUBJECT" \
    -o message-file="$TEMPMAILFILE" \
    -o message-content-type=text \
    -o [email protected]

But when the message arrives it's not plain-text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions