[Top] [All Lists]

Re: Confused about encoding for SMTP

Subject: Re: Confused about encoding for SMTP
From: "Andy"
Date: Wed, 31 Aug 2005 09:57:09 -0400
Newsgroups: microsoft.public.sqlserver.notificationsvcs
Stopping the service should not cause a problem, I do it all the time, but I 
am running this on a Server not XP.

Have you tried to make your entry:

By default it will look at localhost.

I don't think this would cause you a problem, but you may want to try and 
set your settings like:
        <Name>Bod oding</Name>

Your XSL is declaring the utf-8, but you setting is utf-16 in the 
instanceconfig, based on what you sent.

"Brent Horine" <[email protected]> wrote in message 
news:[email protected]
> Thanks Kate.
> If I stop the SMTP server, the notifications fail with a 
> DeliveryStatusCode of 4 and nothing appears in mailroot\pickup.
> I sent the notification to an IMAP email account and saved it as a text 
> file from Outlook 2002.
> From: [email protected]
> Sent: Wednesday, August 31, 2005 7:18 AM
> To: bhorine at edited .fm
> Subject: 
> &#25942;&#29806;&#29301;&#18277;&#21328;&#21280;&#25968;&#25701;&#16672;&#25964;&#29810;
> Speed Limit Violation Alert Brent Horine was speeding at 115 MPH at 
> 8/30/2005 2:58:00 PM at Over There! Speed Limit violation alert provided 
> by VentureGPS..
> This was sent using the following configurations:
> appConfig:
>  <DeliveryChannel>
>   <DeliveryChannelName>EmailChannel</DeliveryChannelName>
>   <ProtocolName>SMTP</ProtocolName>
>   <Arguments>
>    <Argument>
>     <Name>SmtpServer</Name>
>     <Value>localhost</Value>
>    </Argument>
>    <Argument>
>     <Name>Bod oding</Name>
>     <Value>utf-16</Value>
>    </Argument>
>   </Arguments>
>  </DeliveryChannel>
> .xslt: (I've stripped out most of the html to try to reduce chance of 
> errors)
> <?xml version="1.0" encoding="UTF-8" ?>
> <xsl:stylesheet version="1.0" 
> xmlns:xsl="";>
> <xsl:template match="notifications">
>  Speed Limit Violation Alert
>   <xsl:apply-templates/>
>   Speed Limit violation alert provided by VentureGPS.
> </xsl:template>
> <xsl:template match="notification">
>  <xsl:value-of select="VehicleName" /> was speeding at <xsl:value-of 
> select="Speed" /> MPH
>  at <xsl:value-of select="EventDateTime" /> at <xsl:value-of 
> select="Address" />!
> </xsl:template>
> </xsl:stylesheet>
> "kate" <[email protected]> wrote in message 
> news:[email protected]
>> if you stop the local smtp server that you are sending thru and get the
>> raw email file from the pickup folder in mailroot, can you post what is
>> in the raw email file when you open it in text editor?
>> the only time we have seen this issue is when the body encoding has
>> been missed off and you clearly have that one.
>> Kate MBCS
>> Alert Technologies
>> Get your notification services implementation going in minutes not
>> weeks ......

<Prev in Thread] Current Thread [Next in Thread>