- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Email Subject
Operating System - HP-UX
1753371
Members
4845
Online
108792
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 11:23 AM
12-17-2008 11:23 AM
Email Subject
Hi
I want to place content of the file as Email Subject
I have created a file abc.txt attached please check,
I am using the below command in the script
elm -s "${email_subject:?} $( "${email_recipients[@]:?}" < "${input_file:?}"
from the file it taking the first line
I want to place all lines from the file
I want to place content of the file as Email Subject
I have created a file abc.txt attached please check,
I am using the below command in the script
elm -s "${email_subject:?} $(
from the file it taking the first line
I want to place all lines from the file
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 12:16 PM
12-17-2008 12:16 PM
Re: Email Subject
Hello,
I would strongly advise you against such setup. Although the RFCs do not specifically deal with Subject: line limits,
there are many references to it:
Old RFC 822:
" 3.4.8. FOLDING LONG HEADER FIELDS
Each header field may be represented on
exactly one line consisting of the name of
the field and its body, and terminated
by a CRLF; this is what the parser sees.
For readability, the field-body portion of
long header fields may be "folded" onto
multiple lines of the actual field.
"Long" is commonly interpreted to mean
greater than 65 or 72 characters.
The former length serves as a limit, when
the message is to be viewed on most simple
terminals which use simple display software;
however, the limit is not imposed by this
standard."
Several years ago, RFCs 821 and 822 were
superceeded by 2821 and 2822.
Excerpt from RFC 2822:
"There are two limits that this standard
places on the number of characters in a
line. Each line of characters MUST be no
more than 998 characters, and SHOULD be no
more than 78 characters, excluding the CRLF."
Note that for database purposes, one can
define field as 'line' with multiple
occurences.
Subject line is not structured (it
falls under paragraph 2.2.1):
"2.2.1. Unstructured Header Field Bodies
Some field bodies in this standard are
defined simply as "unstructured" (which is
specified below as any US-ASCII characters,
except for CR and LF) with no further
restrictions. These are referred to as
unstructured field bodies. Semantically,
unstructured field bodies are simply to be
treated as a single line of characters
with no further processing (except for
header "folding" and "unfolding" as described in section 2.2.3)."
Note that log of Mail User Agents impose
their own limits.
If I remember correctly (I do not deal with Microsoft products much), Outlook has
a limit of 78 characters for Subject: line.
Take a look. I sent myself two messages:
one to my Fedora 10 and one to my (sadly)
Microsoft Outlook mailbox.
Fedora 10 message:
Subject: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Microsoft Outlook truncated it:
Subject: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
Cheers,
VK2COT
I would strongly advise you against such setup. Although the RFCs do not specifically deal with Subject: line limits,
there are many references to it:
Old RFC 822:
" 3.4.8. FOLDING LONG HEADER FIELDS
Each header field may be represented on
exactly one line consisting of the name of
the field and its body, and terminated
by a CRLF; this is what the parser sees.
For readability, the field-body portion of
long header fields may be "folded" onto
multiple lines of the actual field.
"Long" is commonly interpreted to mean
greater than 65 or 72 characters.
The former length serves as a limit, when
the message is to be viewed on most simple
terminals which use simple display software;
however, the limit is not imposed by this
standard."
Several years ago, RFCs 821 and 822 were
superceeded by 2821 and 2822.
Excerpt from RFC 2822:
"There are two limits that this standard
places on the number of characters in a
line. Each line of characters MUST be no
more than 998 characters, and SHOULD be no
more than 78 characters, excluding the CRLF."
Note that for database purposes, one can
define field as 'line' with multiple
occurences.
Subject line is not structured (it
falls under paragraph 2.2.1):
"2.2.1. Unstructured Header Field Bodies
Some field bodies in this standard are
defined simply as "unstructured" (which is
specified below as any US-ASCII characters,
except for CR and LF) with no further
restrictions. These are referred to as
unstructured field bodies. Semantically,
unstructured field bodies are simply to be
treated as a single line of characters
with no further processing (except for
header "folding" and "unfolding" as described in section 2.2.3)."
Note that log of Mail User Agents impose
their own limits.
If I remember correctly (I do not deal with Microsoft products much), Outlook has
a limit of 78 characters for Subject: line.
Take a look. I sent myself two messages:
one to my Fedora 10 and one to my (sadly)
Microsoft Outlook mailbox.
Fedora 10 message:
Subject: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Microsoft Outlook truncated it:
Subject: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
Cheers,
VK2COT
VK2COT - Dusan Baljevic
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP