X
xzzy
I am writing an app that enables a user to reply to a newsgroup.
The proper syntax for From: is
"screen name" (e-mail address removed)
and over all, it should look like:
--
From: "screen name" (e-mail address removed)
Subject: mySubject
Date: Tuesday, September 25, 2007 8:51 AM
body goes here . . . .
--
Problems #1: in this app, ScreenName is a variable that does not have
either beginning or ending double quotes. How do I insert/append the
beginning and ending double quotes?
Problem#2: how do I insert/append a line feed in the text feed to the
server so that the text does not have \n\r in it?
Right now, the best I can do using StringBuilder's Append and AppendFormat
is:
The proper syntax for From: is
"screen name" (e-mail address removed)
and over all, it should look like:
--
From: "screen name" (e-mail address removed)
Subject: mySubject
Date: Tuesday, September 25, 2007 8:51 AM
body goes here . . . .
--
Problems #1: in this app, ScreenName is a variable that does not have
either beginning or ending double quotes. How do I insert/append the
beginning and ending double quotes?
Problem#2: how do I insert/append a line feed in the text feed to the
server so that the text does not have \n\r in it?
Right now, the best I can do using StringBuilder's Append and AppendFormat
is: