1748139 Members
3636 Online
108758 Solutions
New Discussion юеВ

Re: Mail and Attach

 
Isaac_4
Frequent Advisor

Mail and Attach

HI:

Some body know the sintax to make a email under hpux promt, whith the opcion to add a document (attach).
For example:

Mail isaac
"Hola" Body
"document" attach

Thank You!!


The time is gold
7 REPLIES 7
Rita C Workman
Honored Contributor

Re: Mail and Attach

Isaac_4
Frequent Advisor

Re: Mail and Attach

Rita>

What do the numbers mean
[include text.txt text/plain base64]

Thank you!!!
The time is gold
Sandman!
Honored Contributor

Re: Mail and Attach

Issac,

For emails w/o attachments use...

# mailx -s "Subject" email_address < filename

For emails with attachments use...

# uuencode | mailx -m -s "filename" email@address
Sudeesh
Respected Contributor

Re: Mail and Attach

Sendman's suggession will work. I am using it in my manual monitoring scripts.

# uuencode /tmp/bdf.out bdfoutput.txt
# mailx -m -s "filename" email@address bdfoutput.txt


Sudeesh
The most predictable thing in life is its unpredictability
Rita C Workman
Honored Contributor

Re: Mail and Attach

hmmm, apparently there is a font issue there.

It is a file that includes since line include statements encased within brackets. Let me try and type it here again...

Example:

[include myfile.doc application/msword base64]
[include secondfile.txt text/plain base64]

and so forth....

Using the include statement is nice because it codes very easly and you can send pretty much anything you want to send and have the attachment come as it should.

Hope this prints correctly when I hit submit,
Rgrds,
Rita

Geoff Wild
Honored Contributor

Re: Mail and Attach

Mpack would do what you want:

http://hpux.ee.ualberta.ca/hppd/hpux/Users/mpack-1.6/

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Isaac_4
Frequent Advisor

Re: Mail and Attach

Thank you for your answers, I could try some one to fix my problem.

I thank your time !!!
The time is gold