- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: attachment in sendmail file name with the path
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
Forums
Discussions
Discussions
Discussions
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
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
06-25-2007 09:21 PM
06-25-2007 09:21 PM
attachment in sendmail file name with the path
We tried to send email with attachment using sendmail command, the attachment was send ok we can open find from the client. The only problem is the name of the file is include the path.
For example on the sendmail config:
...
--m1_boundarystring
Content-Type: text/plain
Content-Disposition: attachment; filename=/common/local/test.txt
Content-Description: test.txt
...
and then on the receiving email the attachment filename become like this:
_common_local_test.txt (includes the whole path and it change from / to _)
and actually we want the filename simply like:
test.txt
How can we have the simpler filename instead of with the wrongly full pathname?
Thank you!
Iwan Tamimi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 12:47 AM
06-26-2007 12:47 AM
Re: attachment in sendmail file name with the path
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=55750
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1046448
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=31333
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1055599
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 01:01 AM
06-26-2007 01:01 AM
Re: attachment in sendmail file name with the path
the second argument to uuencode is going to be the name of the attachement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 03:00 AM
06-26-2007 03:00 AM
Re: attachment in sendmail file name with the path
> instead of with the wrongly full pathname?
If it's not too much to ask, how did you make
what you have now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 03:35 PM
06-26-2007 03:35 PM
Re: attachment in sendmail file name with the path
We just found out that it is the Microsoft Outlook 2003 that convert to the strange name, the previous Outlook automatically strip off the pathname. We just upgrad our mail client to Outlook 2003.
Our solution is change the script, cd to the directory instead to refer the file with the full pathname.
Anyway thank you for all of your help.
Regards,
Iwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2007 03:50 PM
06-26-2007 03:50 PM
Re: attachment in sendmail file name with the path
I was guessing something like that as the
ultimate solution, but I was waiting until
you said that you were specifying the full
path somewhere, which you never did.
Guessing what's wrong with a secret or
invisible script can waste much time and
effort.