Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Body

string System.Net.Mail.MailMessage.Body
getset

Definition at line 152 of file MailMessage.cs.

153 {
154 get
155 {
156 if (_body == null)
157 {
158 return string.Empty;
159 }
160 return _body;
161 }
162 [param: AllowNull]
163 set
164 {
165 _body = value;
166 if (_bodyEncoding == null && _body != null)
167 {
168 if (MimeBasePart.IsAscii(_body, permitCROrLF: true))
169 {
171 }
172 else
173 {
175 }
176 }
177 }
178 }
static bool IsAscii(string value, bool permitCROrLF)
static Encoding GetEncoding(int codepage)
Definition Encoding.cs:593
static Encoding ASCII
Definition Encoding.cs:511

Referenced by System.Net.Mail.MailMessage.MailMessage().