Mail program splits link over two lines

Posted by Joran on Stack Overflow See other posts from Stack Overflow or by Joran
Published on 2010-05-05T09:55:13Z Indexed on 2010/05/05 10:58 UTC
Read the original article Hit count: 148

Filed under:
|
|
|

Hi,

In C#, I'm sending a mail with an activation link to users after they have registered. However, the link is split over two lines in the mail and thus doesn't work.

I've checked in Visual Studio and the string containing the link looks fine. I've also tried: strMessage.Replace("\r", ""); strMessage.Replace("\n", ""); but without success.

Do you have any ideas on how to solve this? I've googled it for hours and can't find the solution...

Thanks! /J

© Stack Overflow or respective owner

Related posts about c#

Related posts about link