Bare LF

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Fox

    #1

    Bare LF

    Hello,

    I have a site that was working great until I
    uploaded it to a server with the .NET Framework 1.1 on it
    (it was compiled on a box with .NET 1.0 SP2). I am
    getting an error from the SMTP server when ASP.NET
    attempts to send an e-mail. It says that ASP.NET is
    sending "Bare LFs" (Bare Line Feeds without carriage
    returns) which is a violation of some e-mail standard.
    The problem is described at
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.


    Is there a way to get ASP.NET to abide by the internet
    standards and not send bare LFs? If you would like more
    info, let me know. Thanks for your help!
  • Steve C. Orr, MCSD

    #2
    Re: Bare LF

    Might this work for you?

    Replace(MyStrin g, vblf, vbcrlf)

    --
    I hope this helps,
    Steve C. Orr, MCSD



    "Mark Fox" <info@solelsoft ware.com> wrote in message
    news:055701c355 6f$bbeedc30$a40 1280a@phx.gbl.. .[color=blue]
    > Hello,
    >
    > I have a site that was working great until I
    > uploaded it to a server with the .NET Framework 1.1 on it
    > (it was compiled on a box with .NET 1.0 SP2). I am
    > getting an error from the SMTP server when ASP.NET
    > attempts to send an e-mail. It says that ASP.NET is
    > sending "Bare LFs" (Bare Line Feeds without carriage
    > returns) which is a violation of some e-mail standard.
    > The problem is described at
    > http://pobox.com/~djb/docs/smtplf.html
    >
    > Is there a way to get ASP.NET to abide by the internet
    > standards and not send bare LFs? If you would like more
    > info, let me know. Thanks for your help![/color]


    Comment

    • S. Justin Gengo

      #3
      Re: Bare LF

      I would guess that this has nothing to do with the framework but with the
      mail server itself.

      We've upgraded our servers to the 1.1 framework and have many apps that send
      mail. None of them stopped working.

      --
      S. Justin Gengo, MCP
      Web Developer

      Free code library at:
      www.aboutfortunate.com

      "Out of chaos comes order."
      Nietzche
      "Mark Fox" <info@solelsoft ware.com> wrote in message
      news:055701c355 6f$bbeedc30$a40 1280a@phx.gbl.. .[color=blue]
      > Hello,
      >
      > I have a site that was working great until I
      > uploaded it to a server with the .NET Framework 1.1 on it
      > (it was compiled on a box with .NET 1.0 SP2). I am
      > getting an error from the SMTP server when ASP.NET
      > attempts to send an e-mail. It says that ASP.NET is
      > sending "Bare LFs" (Bare Line Feeds without carriage
      > returns) which is a violation of some e-mail standard.
      > The problem is described at
      > http://pobox.com/~djb/docs/smtplf.html
      >
      > Is there a way to get ASP.NET to abide by the internet
      > standards and not send bare LFs? If you would like more
      > info, let me know. Thanks for your help![/color]


      Comment

      • Tian Min Huang

        #4
        RE: Bare LF

        Hi Mark,

        When upgrading to .NET framework 1.1, IIS will be bind to ASP.NET 1.1
        automatically. Could you please try building your web application under
        .NET framework 1.1 again to see if it could resolved the problem? Or you
        could bind IIS to asp.net 1.0 again by running aspnet_regiis.e xe under 1.0
        framework directory. However, I prefer you rebuild the project in 1.1 to
        utilize the new framework.

        Hope this helps.

        Regards,

        HuangTM
        Microsoft Online Partner Support
        MCSE/MCSD

        Get Secure! ¨C www.microsoft.com/security
        This posting is provided ¡°as is¡± with no warranties and confers no rights.


        Comment

        • Tian Min Huang

          #5
          RE: Bare LF

          Hello Mark,

          I'd like to follow up with you and see if there is any further I can help.
          I am standing by for your response.

          Have a nice day!

          Regards,

          HuangTM
          Microsoft Online Partner Support
          MCSE/MCSD

          Get Secure! ¨C www.microsoft.com/security
          This posting is provided ¡°as is¡± with no warranties and confers no rights.


          Comment

          • Mark Fox

            #6
            RE: Bare LF

            Huang,

            Thank you for following up, Huang. I am sorry for
            not replying sooner. It seems ads though it was a
            problem with the mail server and not ASP.NET and it is
            currently resolved. But thank you so much for your
            assistance!

            [color=blue]
            >-----Original Message-----
            >Hello Mark,
            >
            >I'd like to follow up with you and see if there is any [/color]
            further I can help. [color=blue]
            >I am standing by for your response.
            >
            >Have a nice day!
            >
            >Regards,
            >
            >HuangTM
            >Microsoft Online Partner Support
            >MCSE/MCSD
            >
            >Get Secure! ¨C www.microsoft.com/security
            >This posting is provided ¡°as is¡± with no warranties [/color]
            and confers no rights.[color=blue]
            >
            >
            >.
            >[/color]

            Comment

            Working...