Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: [OT] mail
Billy Verreynne wrote:
>
> An OT question. Apologies in advance, but I'm hoping that someone else
> running Oracle/Unix has solved a similar problem.
>
> I'm running various crons that checks logs (Oracle and application) and
> mails that to me. Works great.
>
> However, mail reader (MS Outlook) is a problem. That is fixed. I can not
> change that. I need to have the logs send as attachments. Outlook's
> formatting of a plain text message sucks big time. With attachments, I can
> easily view them in Notepad or something else. (this cut and pasting of
> e-mail body to Notepad is driving me nutters - okay, more nutters than the
> usual nutter state I'm in)
>
> Using sh script and Unix mail command (not Perl or anything else) to send
> the mail. How do you send attachments?
>
> I've constructed a raw e-mail with correct headers, mime types and mime
> boundaries. However, Unix mail "interferes" with that and a single blank
> line causes my headers to become part of the message body.
>
> Any ideas or solutions?
>
> --
> Billy
If memory serves there was a flag to mail that would pass the email text unaltered (I think you also then had to have the recipient and subject within the mail text itself) but I could be mistaken
hth
connor
Received on Fri Feb 07 2003 - 02:38:01 CST