- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reading Mail with Script
Operating System - HP-UX
1748178
Members
4389
Online
108758
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
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО08-16-2004 08:02 AM
тАО08-16-2004 08:02 AM
If I were wanting to read mail with a script and put that output in an html file, where would I find the mail?
HP-UX 11.0 and HP-UX 11.11
Thanks
Scott
HP-UX 11.0 and HP-UX 11.11
Thanks
Scott
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2004 08:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2004 08:15 AM
тАО08-16-2004 08:15 AM
Re: Reading Mail with Script
Perfect.
Thank you.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2004 12:36 PM
тАО08-16-2004 12:36 PM
Re: Reading Mail with Script
Hi
using aliases you can also read a mail as soon as it arrives.
Add a line like:
myname: |/absolute_path/script_name
and run the command newaliases
Now when the mailer receive a mail addressed to myname, it start the script /absolute_path/script giving him the mail as standard input, so you can process directly the mail as they arrive.
Remember to declare in the script the shell to use (first line must be something like #!/usr/bin/sh)
Hope it helps
using aliases you can also read a mail as soon as it arrives.
Add a line like:
myname: |/absolute_path/script_name
and run the command newaliases
Now when the mailer receive a mail addressed to myname, it start the script /absolute_path/script giving him the mail as standard input, so you can process directly the mail as they arrive.
Remember to declare in the script the shell to use (first line must be something like #!/usr/bin/sh)
Hope it helps
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