By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,759 Members | 959 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,759 IT Pros & Developers. It's quick & easy.

Bare LF

P: n/a
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!
Nov 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Might this work for you?

Replace(MyString, vblf, vbcrlf)

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Mark Fox" <in**@solelsoftware.com> wrote in message
news:05****************************@phx.gbl...
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!

Nov 17 '05 #2

P: n/a
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" <in**@solelsoftware.com> wrote in message
news:05****************************@phx.gbl...
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!

Nov 17 '05 #3

P: n/a
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.exe 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.
Nov 17 '05 #4

P: n/a
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.
Nov 17 '05 #5

P: n/a
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!

-----Original Message-----
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.

.

Nov 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.