- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- uuencode for external email....with pdf attachment
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
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
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
тАО04-06-2006 10:21 PM
тАО04-06-2006 10:21 PM
2. We need to send multiple (cc)of the same emails.
Help is required of the above two.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2006 11:08 PM
тАО04-06-2006 11:08 PM
Re: uuencode for external email....with pdf attachment
You can use the script I attach or pull code out of it.
http://www.hpux.ws/mailfile2
SEP
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
тАО04-06-2006 11:34 PM
тАО04-06-2006 11:34 PM
Re: uuencode for external email....with pdf attachment
Thanks for the script. But I can't use this script because I have to use single line command with 'host'.
My requirement is to send mail with pdf attachment from my unix box. I am using 'uuencode' with mailx for the purpose.
Problem is that the mail is going to the desired email address but pdf attachment is not going.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2006 11:40 PM
тАО04-06-2006 11:40 PM
Re: uuencode for external email....with pdf attachment
You can try this :
1. # uuencode file.pdf file.pdf | mailx -s "PDF file attached" yourname@domain.com
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2006 05:59 PM
тАО04-09-2006 05:59 PM
Re: uuencode for external email....with pdf attachment
The external mail is not getting output as an attachement. The pdf attachment is getting attached in the body of the mail as follows:
Subject: AIS Advanced Shipment Notice
begin 644 o5564027.pdf
M)5!$1BTQ+C$*,2`P(&]B:@H\/`HO0W)E871OM"B]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2006 12:07 AM
тАО04-10-2006 12:07 AM
Re: uuencode for external email....with pdf attachment
Try compress or gzip prior to attachment.
(maybe this can be on the fly with
cat x.pdf |compress |uuencode - /tmp/x.pdf.Z |mailx -s "file" dest1@host2 dest2@host3
I think just adding a second dest will send a second copy for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2006 12:47 AM
тАО04-10-2006 12:47 AM
Re: uuencode for external email....with pdf attachment
Giving following error:
-: No such file or directory
Null message body; hope that's ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2006 01:02 AM
тАО04-10-2006 01:02 AM
Re: uuencode for external email....with pdf attachment
mailx -m -s "Test new" abc@yahoo.com
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2006 01:13 AM
тАО04-10-2006 01:13 AM
Re: uuencode for external email....with pdf attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2006 07:07 AM
тАО04-10-2006 07:07 AM
SolutionTo send attachments to webmail clients like Yahoo do the following steps:
1. Create an empty file with a blank line at the top as follows:
# echo > your_mail_file
2. Verify that the size of the file is 1 byte:
# ll your_mail_file
3. uuencode the PDF file appending its output to your_mail_file:
# uuencode o5564027.pdf o5564027.pdf >> your_mail_file
4. E-mail the file to your Yahoo account using mailx as follows:
# cat your_mail_file | mailx -m -s "subject_goes_here" abc@yahoo.com
hope it helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2006 07:55 AM
тАО04-10-2006 07:55 AM
Re: uuencode for external email....with pdf attachment
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2006 08:43 AM
тАО04-10-2006 08:43 AM
Re: uuencode for external email....with pdf attachment
Attached is a few wxamples that are used in our shop.
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2006 11:27 PM
тАО04-11-2006 11:27 PM
Re: uuencode for external email....with pdf attachment
Has done very good job(10/10). His clear steps really resolved my problem. This should be archived for future reference.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2006 11:30 PM
тАО04-11-2006 11:30 PM
Re: uuencode for external email....with pdf attachment
Thanks. His suggestions should be archived for future reference.