Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: double line spacing in smtp

Re: double line spacing in smtp

From: HansF <News.Hans_at_telus.net>
Date: Tue, 27 Sep 2005 00:49:32 GMT
Message-Id: <pan.2005.09.27.00.54.14.840511@telus.net>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US