- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Email attachment question
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-03-2003 11:17 AM
тАО01-03-2003 11:17 AM
Email attachment question
I tested the following piece for email attachment. It works great, I could see attachment on microsoft exchange and hotmail, but I could not see any attachment on yahoo.com. Instead the attachment, I am seeing the content written on the body. Can you guys help me here?
# uuencode myfile myfile > myfile.out
# cat content.txt myfile.out > final
# cat final|mailx -m -s "hello there" abc@yahoo.com
Thanx,
Mahen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2003 11:23 AM
тАО01-03-2003 11:23 AM
Re: Email attachment question
There are many good links in the forum on this. Below is an example:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xef2536e69499d611abdb0090277a778c,00.html
For more similar links, try searching "attachment" in the forum.
Good Luck.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2003 11:36 AM
тАО01-03-2003 11:36 AM
Re: Email attachment question
uuencode myfile myfile.txt | mailx -m -s "hello there" abc@yahoo.com
And of course, what is in
content.txt?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2003 12:04 PM
тАО01-03-2003 12:04 PM
Re: Email attachment question
Search forums for mail and attachments, and you will get a ton of data.
The best part of using elm is that I did not have to uuencode manually, elm did this for me.
Regards,
Shannon
ps if you can find anything, I can post what I have working. Make sure the version of elm you are using supports attachments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2003 12:39 PM
тАО01-03-2003 12:39 PM
Re: Email attachment question
With the uuencode'ing of the "attachment", it doesn't matter if mailx supports attachments or not, as uuencode sends (in this case pipes it to mailx) the "attachment" as TEXT.
I use this method to send files and such from unix boxes to my M$ boxes all of the time.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2003 01:00 PM
тАО01-03-2003 01:00 PM
Re: Email attachment question
When I tried this approach, I received the uuencoded data at plain text, which I had to manually save, strip headers, and decode the data. Not as easy as elm.
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2003 01:01 PM
тАО01-03-2003 01:01 PM
Re: Email attachment question
It supports attachments, works like a charm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2003 01:18 PM
тАО01-03-2003 01:18 PM
Re: Email attachment question
I think the trick is to identify to the mail receiver what kind of attachment the uuencode'd data is. If it's a WORD DOC, aka a .doc then you do this:
uuencode someword.doc someword.doc | mailx -m -s "my word doc" user@domain.com
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2003 09:33 AM
тАО01-06-2003 09:33 AM
Re: Email attachment question
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-1335382922+1041874332031+28353475&docId=200000062684425
Three versions. A messed up relay server can make you think these scripts are broken. They probably aren't.
Stevve
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
тАО01-06-2003 10:55 AM
тАО01-06-2003 10:55 AM
Re: Email attachment question
I myself prefer to use elm ( as mailx is actually for message broadcasts, and elm and sendmail are true mailers--just my opinion)and then I like to utilize [include].
Here's a thread that gives you some insight in using the [include] statment to attach files:
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x41950559ff7cd4118fef0090279cd0f9,00.html
Regards,
Rita