- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- attach files in sendmail
Operating System - HP-UX
1818024
Members
2841
Online
109588
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
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
тАО01-04-2005 09:18 PM
тАО01-04-2005 09:18 PM
Hi,
I want to attach one file in one mail using sendmail. Does anyone could I do this??
Thanks very much!!,
Carmen.
I want to attach one file in one mail using sendmail. Does anyone could I do this??
Thanks very much!!,
Carmen.
Users are not too bad ;-)
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2005 09:41 PM
тАО01-04-2005 09:41 PM
Re: attach files in sendmail
Carmen,
this works on our current platform.
Perhaps not the shortest method, but the code is easy to understand, even for me!
Pete
this works on our current platform.
Perhaps not the shortest method, but the code is easy to understand, even for me!
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2005 10:06 PM
тАО01-04-2005 10:06 PM
Re: attach files in sendmail
It's not your sendmail MTA that needs special configuration.
You rather need a MUA that's capable of creating appropriate MIME multipart headers and encoding your attachments properly (usually Base64).
You can do it either the die-hard way like Peter showed you by forming your own headers and data.
Easier yet, install a MUA like mutt
http://www.mutt.org/
or pine
http://www.washington.edu/pine/
If you are into Perl you could also use the MIME::Lite module
http://search.cpan.org/~yves/MIME-Lite-3.01/lib/MIME/Lite.pm
For mor involved stuff (like parsing etc.) you could use MIME::Tools
http://search.cpan.org/~dskoll/MIME-tools-5.416/lib/MIME/Tools.pm
You rather need a MUA that's capable of creating appropriate MIME multipart headers and encoding your attachments properly (usually Base64).
You can do it either the die-hard way like Peter showed you by forming your own headers and data.
Easier yet, install a MUA like mutt
http://www.mutt.org/
or pine
http://www.washington.edu/pine/
If you are into Perl you could also use the MIME::Lite module
http://search.cpan.org/~yves/MIME-Lite-3.01/lib/MIME/Lite.pm
For mor involved stuff (like parsing etc.) you could use MIME::Tools
http://search.cpan.org/~dskoll/MIME-tools-5.416/lib/MIME/Tools.pm
Madness, thy name is system administration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2005 10:14 PM
тАО01-04-2005 10:14 PM
Solution
Carmen,
Here are several threads which deal with sendmail and attachments:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=33794
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=482848
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=94905
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=188903
Hopefully one of those should point you in the right direction. If not, use the search function at the top of the page and search on "sendmail attachment".
Pete
Pete
Here are several threads which deal with sendmail and attachments:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=33794
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=482848
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=94905
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=188903
Hopefully one of those should point you in the right direction. If not, use the search function at the top of the page and search on "sendmail attachment".
Pete
Pete
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 2025 Hewlett Packard Enterprise Development LP