Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: double line spacing in smtp
On Mon, 26 Sep 2005 11:01:13 -0400, Chuck interested us by writing:
> I don't mean to beat a dead horse, but this could be done in about 4
> lines with mail/mailx in the o/s. Code below is for korn shell but could
> easily be modified for any other shell.
>
> mailx -s 'Attachment Test' mike_at_home.co.uk <<!
> Hi! This is a test.
> $(uuencode wor020_665126.lis wor020_665126.lis)
> !
>
> Of course this does assume you are using unix. If windows, you could
> download blat. It's not much harder to use than mailx.
>
Your point being?
If it's to show the shorted variant, in PL/SQL you could, of course, store MikeS' code as a stored procedure and simply run it using something like
exec mailtest ('Attachment Test', 'mike_at_home.co.uk',
'Hi! This is a test.', 'wor020_665126.lis');
The demo supplied, however, does expand it out so that any reader could see the variants - much more informative.
-- Hans Forbrich Canada-wide Oracle training and consulting mailto: Fuzzy.GreyBeard_at_gmail.com *** I no longer assist with top-posted newsgroup queries ***Received on Mon Sep 26 2005 - 19:49:32 CDT
![]() |
![]() |