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: Sending an email with attachment and message

Re: Sending an email with attachment and message

From: tawright915 <tawright915_at_gmail.com>
Date: 25 Oct 2006 09:38:32 -0700
Message-ID: <1161794312.312781.158050@e3g2000cwe.googlegroups.com>


I just realized this may be in the wrong group. Sorry.

tawright915 wrote:
> Is there a wayto send an email with an attachement, and message, but
> not have to read in the message from a message file?
>
> I can get it to somewhat work like this:
> mailx -m -s "report" someemail_at_email.com <<EOF
> $EMAIL_MSG
> ~<! cat uuencode $REPORT_DIR/report.dat
> ~.
> EOF
>
> But it includes the contents of the dat file in my email body along
> with the message, instead of attaching report.dat to it.
>
> I wanted the message to be either created in a text file on the fly
> then removed when completed or held in a variable like I'm doing here.
>
> Is this possible
>
> Thanks
> Tom
Received on Wed Oct 25 2006 - 11:38:32 CDT

Original text of this message

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