- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Delivery Receipt on mail message sent from perl
Operating System - HP-UX
1752803
Members
5208
Online
108789
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
тАО07-16-2003 10:40 AM
тАО07-16-2003 10:40 AM
Does anyone know how to create a mail message using perl that returns a delivery receipt? I need to know if a message I sent was actually delivered to its mailbox, if not I need to contact to user another way since the mail system is down.
Thanks for your help,
Rick
Thanks for your help,
Rick
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 10:50 AM
тАО07-16-2003 10:50 AM
Solution
You may try this.
sendmail
rc=$?
if [ $rc ne 0 ] then
echo "mail failed"
fi
I'm attaching a batch mailing script that might be adapted to this purpose. This one includes an attachment, but that is optional.
SEP
sendmail
rc=$?
if [ $rc ne 0 ] then
echo "mail failed"
fi
I'm attaching a batch mailing script that might be adapted to this purpose. This one includes an attachment, but that is optional.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 11:05 AM
тАО07-16-2003 11:05 AM
Re: Delivery Receipt on mail message sent from perl
Are you expecting a delivery receipt from the MTA (e.g. sendmail)? If so, few folks I know that run MTAs on the public Internet honor (or configure) classic ALL-IN-ONE style delivery receipts. If you own all of the MTAs in question, you can produce a system that gives you delivery receipts.
If you want to verify that the sendmail transaction completed (i.e. the remote MTA accepted or rejected a given piece of e-mail), get procmail; set up a bounce address; process bounces using procmail.
Note that such a system does _NOT_ guarantee delivery. You just know that the mail was accepted [or rejected] by the remote MTA. You can't reliably know what happens after that unless you control all of the systems.
If you want to verify that the sendmail transaction completed (i.e. the remote MTA accepted or rejected a given piece of e-mail), get procmail; set up a bounce address; process bounces using procmail.
Note that such a system does _NOT_ guarantee delivery. You just know that the mail was accepted [or rejected] by the remote MTA. You can't reliably know what happens after that unless you control all of the systems.
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