
|
[oracle-l]
||
[Date Prev]
[08-2005 Date Index]
[Date Next]
||
[Thread Prev]
[08-2005 Thread Index]
[Thread Next]
Re: how to send a fixed-format mail from unix
- From: Enrique Fernandez-Pampillon <oracle.pampillon@xxxxxxxxx>
- To: sharmakdeep_oracle@xxxxxxxxx
- Date: Mon, 1 Aug 2005 14:45:40 +0200
Hello,
Notes5 have problems with MIME emails (internally it converts HTML
code to Notes Rich Text). This problems have been solved in 6 or
higher versions.
Another thing, if you want to send an html email you have to add MIME headers:
An example:
#!/usr/bin/posix/sh
(
cat <<!
MIME-Version: 1.1
From:from@xxxxxxxxxxxxxx
To: to@xxxxxxxxxxxx
Subject: This is the subject of the mail. Date: $(date)
Content-Type: multipart/mixed; boundary="_boundarystring"
This is a multi-part message in MIME format.
--_boundarystring
Content-Type: text/html
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Base: "http://somewebsite.com/"
<html>
<body><font size=4>This</font> is a <i>test</i>.<br>
text line1<br>
<FONT FACE="Courier New">
12345678901234567890<br>
text line2<br>
</FONT>
</body>
</html>
--_boundarystring--
!
) | /usr/lib/sendmail -t -n -v
HTH
On 7/29/05, Deepak Sharma <sharmakdeep_oracle@xxxxxxxxx> wrote:
> I have tried this:
>
> 1) If my file is a.txt, then add
>
> <HTML>
> <FONT FACE="Courier New">
> text line1<BR>
> text line2<BR>
> </FONT>
> </HTML>
>
> 2) Use the command:
>
> uuencode a.txt a.htm | mailx -s "sub" <email>
>
> I get the email as a .htm file and opening it in IE
> still doesn't show in fixed-format.
>
> Thanks,
> Deepak
>
>
>
> --- Magni Fabrizio <Fabrizio.Magni@xxxxxxxxx> wrote:
>
> >
> > > I am trying to send the output of a sqlplus script
> > > from Unix (using mailx) to Lotus Notes addresses.
> > >
> > > The output looks formatted on Unix, but when
> > opened in
> > > Lotus Notes, the formatting is no longer there.
> > >
> >
> > What options do you specify in your command?
> >
> > Have you tried to add the uuencode command to your
> > script?
> >
> > Fabrizio
> > --
> > http://www.freelists.org/webpage/oracle-l
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> --
> http://www.freelists.org/webpage/oracle-l
>
--
------------------------------------------------
Enrique
--
http://www.freelists.org/webpage/oracle-l
|

|