- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mail problem
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
04-21-2003 05:23 AM
04-21-2003 05:23 AM
Mail problem
What are the options to use in the command line for attaching a file using mail utility ?
Thanks
Venky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 05:26 AM
04-21-2003 05:26 AM
Re: Mail problem
Thanks
Zafar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 05:27 AM
04-21-2003 05:27 AM
Re: Mail problem
for Exapmple:
If you want to attach myfile from tmp then
uuencode /tmp/myfile filename | mailx -s subject email -id
or uuencode /tmp/myfile filename | sendmail email -id.
you need to type a file name after the attachement
Goodluck
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 05:27 AM
04-21-2003 05:27 AM
Re: Mail problem
uuencode filename.gz < filename.gz | mail user@e-mail.addr -s "Subject"
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 05:28 AM
04-21-2003 05:28 AM
Re: Mail problem
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa5d67680e012d71190050090279cd0f9,00.html
Thanks
Zafar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 05:37 AM
04-21-2003 05:37 AM
Re: Mail problem
http://hpux.ee.ualberta.ca/hppd/hpux/Users/mpack-1.5/
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 06:25 AM
04-21-2003 06:25 AM
Re: Mail problem
I would like to send an attachment using mail utility from UNIX server to windows exchange server. ( e.g. pdf file )
Please suggest the options.
Thanks
Sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 06:29 AM
04-21-2003 06:29 AM
Re: Mail problem
Thanks
Zafar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 07:15 AM
04-21-2003 07:15 AM
Re: Mail problem
in your case..
uuencode yourfile.pdf pdffilename | sendmail your-email.id
-USA..
Do you get any errors..??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 07:30 AM
04-21-2003 07:30 AM
Re: Mail problem
If you send mails to exchange, make sure you are using "-m" option with mailx, otherwise, it won't show up as attachment
thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 07:34 AM
04-21-2003 07:34 AM
Re: Mail problem
uuencode pdffile.pdf attachpdf | mailx -m -s "subject" user@company.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 08:24 AM
04-21-2003 08:24 AM
Re: Mail problem
Its production and it works great, its also easily modified for other purposes.
Not so well documented, I'll admit, but its based on an HP script.
Just look for my name in the thread and click the attachment icon.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd45c35a43b46d71190080090279cd0f9,00.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com