Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tggagne opened this issue Nov 12, 2024 · 0 comments
Open

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

tggagne opened this issue Nov 12, 2024 · 0 comments

Comments

@tggagne
Copy link

tggagne commented Nov 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant