- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail / Mailx
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
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
07-19-2000 05:25 AM
07-19-2000 05:25 AM
Sendmail / Mailx
Thanks,
Junior
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 05:33 AM
07-19-2000 05:33 AM
Re: Sendmail / Mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 05:41 AM
07-19-2000 05:41 AM
Re: Sendmail / Mailx
uuencode your_file_name | sendmail -v user@mail
or use mpack available at Software Porting And Archive Centre for HP-UX :
http://hpux.cs.utah.edu/
Brian
<*(((>< er
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 05:43 AM
07-19-2000 05:43 AM
Re: Sendmail / Mailx
http://atwnt370.external.hp.com/cm/QuestionAnswer/1,1150,0x8e557e990647d4118fee0090279cd0f9,00.html
you could also click on the search button on the left and search for sendmail AND attachment
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 06:18 AM
07-19-2000 06:18 AM
Re: Sendmail / Mailx
$ uuencode surfing.jpeg surfing.jpeg | sendmail sylvia@home.com
In the command above you have to specify the file name two times: the first name is the input file to be encoded, and the second name is the file name the recipient will see.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 06:12 AM
07-20-2000 06:12 AM
Re: Sendmail / Mailx
# (1) Send in body of e-mail
mailx -s 'Subject Lines goes here' user@company.com < filename.txt
# (2) To send as an attachment
/usr/bin/uuencode filename.Z filename.Z | /usr/sbin/sendmail user@company.com
# (3) To send as an attachment with Subject, From and To
(
echo "From:
echo "To:
echo "Subject:
echo "This is the body of the e-mail.^M
If you are having any problem with this file please give us a call.^M^M^M
/usr/bin/uuencode /local/filename filename
) | /usr/sbin/sendmail user@company.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 06:56 AM
07-20-2000 06:56 AM
Re: Sendmail / Mailx
Ron, Setp #3 work great Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2000 06:43 AM
08-07-2000 06:43 AM
Re: Sendmail / Mailx
The next thing you have to do is create a small file (ex include.file) that is used to send the file as an attachment. There are a few things you could read on this for more details at HP's IT Resource if you want. But simple create a file with this syntax:
[include text.txt text/plain base64]
where text.txt is your file.
The general format is: [include filename type/subtype encoding]
type/subtype= text/plain, image/gif, image/jgp etc..
encoding=base64, quoted-printable etc...
Now from the command line to send this file as an attachment to user_abc:
elms -s 'Test attachment file' user_abc@your_org.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2000 06:46 AM
08-07-2000 06:46 AM
Re: Sendmail / Mailx
This method will send files as TRUE attachments - not as part of the body of the mail.
Regards,