Question

I'm writing an email using mailx

I wanted to know if it is possible to, lets say, underline some words, or making some words bold, or anything..

I have a file which carries the content of the mail content.txt

content.txt:

testing mail

I'm using this mailx command:

mailx -s "testing" me@gmail.com < content.txt

I would like to do something, so the word mail inside the email received will appear like this: mail

I couldn't find any example or tutorial about it,

Thanks

Was it helpful?

Solution

You can't achieve that using plain text file, But you can play with HTML encoding Content-Type: text/html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top