Buy Questpond's video subscriptions on
huge discount
.
Online: 1060
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
C#
>
Loading ...
How to create a line break in Plain text email?
Posted by
Poster
under
C#
on 6/18/2009 | Views : 46054 | Status :
[Member]
| Replies : 5
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
I am trying to send a plain text email using C# and have to create a line break in the body of the email, how to do that?
I tried placing \n but it didn't work.
Thanks
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Raja
on: 6/18/2009
[Member]
Starter
0
Use \r\n for single line break. \n will not work.
Thanks
Regards,
Raja, USA
Poster
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Danmbuen
on: 7/21/2009
[Member]
Starter
0
this works for me. thanks raja!!!
Poster
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Lakhangarg
on: 8/31/2009
[Member]
[Moderator]
Silver
0
Use \r\n ..
This is the escape sequence for new line in plain text.
Thanks & Regards
Lakhan Pal Garg
http://lakhangarg.blogspot.com/
Poster
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Poster
on: 8/31/2009
[Member]
Starter
0
Thanks Lakhangarg but my question was already answered by Raja and I got the same answer from you too.
Whats the use of giving the same answer just for the sake of answering?
Thanks
Poster
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Lakhangarg
on: 8/31/2009
[Member]
[Moderator]
Silver
0
Sorry poster.. i just read the questionand answer for the same.. sorry for duplicate answer.
Thanks
Lakhan Pal Garg
Poster
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...