Re: utl_smtp issue

From: Vladimir M. Zakharychev <vladimir.zakharychev_at_gmail.com>
Date: Thu, 29 Oct 2009 22:56:58 -0700 (PDT)
Message-ID: <aa88a75c-ac66-48f7-a65e-04f5021e7be6_at_v36g2000yqv.googlegroups.com>



On Oct 29, 4:46 pm, Taurus <p.neum..._at_kabelmail.de> wrote:
> Hi,
>
> I'am using Oralce 9i utl_smtp package to send html mails and facing an
> issue.
> My smtp configuration is as follows:
>
> utl_smtp.write_data(connection, 'MIME-Version: 1.0' || cCRLF);
> utl_smtp.write_data(connection, 'Content-Type: text/html;
> charset="UTF-8"' || cCRLF);
>
> I'am passing following line to umtl_smtp
>
>  <td style="border-style: inset inset inset none; border-color: rgb
> (216, 139, 76) rgb(216, 139, 76) rgb(216, 139, 76) -moz-use-text-
> color; border-width: 1pt 1pt 1pt medium; padding: 0.75pt; background:
> rgb(255, 246, 185) none repeat scroll 0%; -moz-background-clip:
> initial; -moz-background-origin: initial; -moz-background-inline-
> policy: initial;">
>
> and receive at client side
>
> <td
>  style="border-style: inset inset inset none; border-color: -moz-use-
> text-color; border-width: 1pt 1pt 1pt medium; padding: 0.75pt;
> background: rgb(255, 246, 185) none repeat scroll 0%; -moz-background-
> clip: initial; -moz-background-origin: initial; -moz-background-inline-
> policy: initial;">
>
> Thus my border color information is lost.
>
> Anyone a clue how to avoid this issue?
>
> Thanks,
> Patrick

First of all, you need to confirm that the string you output is indeed not being transformed in transit or by the SMTP server (there might be filters on the SMTP server that apply certain transformations to received emails, and there might be content filters on the network borders.) You could also use some TCP dumper or logging proxy between your application (sender) and the server. You can also rewrite your CSS to some equivalent and see if this makes any difference: try "border-color: #d88b4c #d88b4c #d88b4c -moz-use- text-color;" instead of rgb().

Hth,

   Vladimir M. Zakharychev
   N-Networks, makers of Dynamic PSP(tm)    http://www.dynamicpsp.com Received on Fri Oct 30 2009 - 00:56:58 CDT

Original text of this message