- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail : How can I set the "Subject:" ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО01-24-2002 06:17 AM
тАО01-24-2002 06:17 AM
I am using sendmail and reach many problems :
1. Is it possible to set the "SUBJECT:" clause of a mail, when using sendmail ?
2. Mails which had correctly been sent & received (on Exchange) don't show the "To:" clause (the receiver himself...). Can it be shown ?
3. About one year ago I configured automatic emails via cron which needed to attached files(UX 10.20). At this time the only way was to use uuencode + elm (sendmail made troubles with the attachement...). Is it now possible the attach file with sendmail (UX 10.20 or 11.XX) ???
P.S. : If all thoses problems can be solved by another command that sendmail, I would use it ...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2002 06:26 AM
тАО01-24-2002 06:26 AM
Re: Sendmail : How can I set the "Subject:" ?
1.
(echo "Subject: hello
this is the hosts file";cat /etc/hosts) | sendmail robin.wakefield@ubsw.com
will set the subject to hello. If the first line starts with "Subject:" & is followed by an empty line, this triggers it to be the Subject.
3. uuencode still required with sendmail:
uuencode /tmp/1 /tmp/1.txt | sendmail robin.wakefield@ubsw.com
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2002 06:39 AM
тАО01-24-2002 06:39 AM
Solutionelm -s "My subject for today $(date)" user@abc.com < /home/me/include_command_for_attached_file
Just because I like the include statement that sendmail will use...See this thread:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,,0x41950559ff7cd4118fef0090279cd0f9!0,00.html
I'm not positive about #2..is it possible it's on the Exchange side that is blocking out the To:..?
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2002 06:44 AM
тАО01-24-2002 06:44 AM
Re: Sendmail : How can I set the "Subject:" ?
mailx -s "Subject" fred@there.com
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2002 06:46 AM
тАО01-24-2002 06:46 AM
Re: Sendmail : How can I set the "Subject:" ?
You can also try this.
# sendmail user@hostname {return}
Subject: This the subject {return} ( You need to write Subject and name of subject in this manner)
Write down here the message {return}
. {return}
#
-Goodluck,
-USA..