Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting a string for pager/email
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01182052
Message ID:
01182077
Views:
16
>I have an ASP.NET application which has a feature of sending a message to a pager. This is done by simply sending an email message to a pager (some pager companies have this feature). Before sending the message my code formats the message using the "\n " as carriage return. The code was working well in the ASP.NET 1.1 version. I recompiled the application to ASP.NET 2.0 and in testing it works well on my PC. Instead of sending email to a pager I send it to my Outlook email. It comes nicely formatted.
>
>But when I send the application to the customer, they have the following problem. When message comes to a pager it has some "extra" characters. For example, they said (I can't really see the pager text) that they see several "0A" in between different words. Is it possible that my "\n " is converted to characters like "0A" or some others? They also see some extra "=" characters.
>
>Any suggestions to what might be causing these extra characters would be greatly appreciated.

Did you try to use Environment.Newline instead of "\n"?
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform