Check these articles out:
http://www.intl-spectrum.com/resource/category/67/Email.aspx
-Nathan
> --
> You received this message because you are subscribed to
> the "Pick and MultiValue Databases" group.
> To post, email to: mvd...@googlegroups.com
> To unsubscribe, email to: mvdbms+un...@googlegroups.com
> For more options, visit http://groups.google.com/group/mvdbms
--
Nathan Rector
International Spectrum, Inc
http://www.intl-spectrum.com
Phone: 720-259-1356
Fax: 603-250-0664
Twitter: http://twitter.com/intlspectrum
Facebook: http://intl-spectrum.com/facebook
From: Scott Johnston
Scott,
What you are thinking about might be uuencode. I EXECUTE it from Universe basic on AIX. You just pipe it's output to mail in the same execute and that's it.
I don't know what the limit is on attachment size but we haven't had a problem with it.
|
--
On linux you can use mutt or mail – they come out of the box, I think they come for aix, if not it will have some form of command line mail in there somewhere, unix had mail way before windows ….
From: mvd...@googlegroups.com [mailto:mvd...@googlegroups.com] On Behalf Of Scott Johnston
Sent: 21 February 2012 21:57
To: mvd...@googlegroups.com
Subject: [mvdbms] Email attachments using U2 and AIX
Hey does anyone have a bit of code to create an email with an attachment using U2 and AIX? I've seen it before at another job it's not much about 75 lines with a couple of low level unix calls.
Let me know if you know what code I'm talking about. I need some way to email attachments using unix
Thanks!
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1424 / Virus Database: 2113/4823 - Release Date: 02/21/12
Scott,
Yes, here's mine.
COMMAND = \SH -c 'uuencode \: FILE.PATH: \ \: FIELD(FILE.PATH,'/',5): \ | mail -s \:SUBJECT:\ \:EMAIL.ADDR: \'\ This doesn't include a message body, Davids does.
Subject needs double quotes around the data to avoid problems with spaces.
FILE.PATH is the full path to the attachment.
The FIELD(... ) should be done prior to this statement, I must have gotten lazy! The 5 only works if there are 4 slashes (/) in the file path which may be different for you.
Don |