Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you're stuck using HTML email, whitespace is normally collapsed by default. If you replace each space with then you might achieve the desired effect. Plain text email normally won't collapse whitespace. FMI.
Hmm, Subject is never HTML.
I think the leading whitespace is dropped by the mailer (sendmail, postfix, exim...).
Ask its FAQ.
A reason might be anti-spam.
It shouldn't be, but that wouldn't stop yet another inept mail client, such as webmail. Might it not be because a proportional font was used instead of monospace?
If you're stuck using HTML email, whitespace is normally collapsed by default. If you replace each space with then you might achieve the desired effect. Plain text email normally won't collapse whitespace. FMI.
Quote:
Originally Posted by MadeInGermany
Hmm, Subject is never HTML.
I think the leading whitespace is dropped by the mailer (sendmail, postfix, exim...).
Ask its FAQ.
A reason might be anti-spam.
Quote:
Originally Posted by mrmazda
It shouldn't be, but that wouldn't stop yet another inept mail client, such as webmail. Might it not be because a proportional font was used instead of monospace?
IMO the whitespace is probably being collapsed by the email client/reader.
OP, where is the listing you show quoted coming from? A web page? If not, which email client are you using?
Does “mail list” mean list of mails or “mailing list”. As you are in Britain, I want to believe it is the first case and that I do not have to explode. Pardon my intervention in this case.
IMO the whitespace is probably being collapsed by the email client/reader.
OP, where is the listing you show quoted coming from? A web page? If not, which email client are you using?
I'm using client/reader mailx version v14.9.23
After some testing the following pattern has emerged
If the subject text starts with multiple spaces they get stripped out
If the subject text starts with a non-whitespace character and the subject text doesn't exceed length of 60 characters whitespace is preserved
if the subject text starts with a non-whitespace character and the subject text exceeds length of 60 characters one block of whitespace is collapsed even though the length of the subject text exceeds 60 characters - see example below
Code:
echo "Message here" | mail -s "1234567890 1234567890 1234567890 1234567890 1234567890 abcdefghij klmnopqrst" -- alex
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.