|
22 | 22 | </Attribute>
|
23 | 23 | </Attributes>
|
24 | 24 | <Docs>
|
25 |
| - <summary>Provides properties and methods for constructing an email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
26 |
| - <remarks> |
27 |
| - <format type="text/markdown"><![CDATA[ |
28 |
| -
|
29 |
| -## Examples |
30 |
| - The following example shows how to use the <xref:System.Web.Mail.MailMessage> class. |
31 |
| -
|
32 |
| -> [!IMPORTANT] |
33 |
| -> This control has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see [Script Exploits Overview](https://learn.microsoft.com/previous-versions/aspnet/w1sw53ds(v=vs.100)). |
34 |
| -
|
35 |
| - [!code-aspx-csharp[System.Web.Mail.MailMessage#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Mail.MailMessage/CS/mailformcs.aspx#1)] |
36 |
| - [!code-aspx-vb[System.Web.Mail.MailMessage#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage/VB/mailformvb.aspx#1)] |
37 |
| -
|
38 |
| - ]]></format> |
39 |
| - </remarks> |
| 25 | + <summary>Provides properties and methods for constructing an email message.</summary> |
| 26 | + <remarks>To be added.</remarks> |
40 | 27 | </Docs>
|
41 | 28 | <Members>
|
42 | 29 | <Member MemberName=".ctor">
|
|
54 | 41 | </AssemblyInfo>
|
55 | 42 | <Parameters />
|
56 | 43 | <Docs>
|
57 |
| - <summary>Initializes a new instance of the <see cref="T:System.Web.Mail.MailMessage" /> class. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 44 | + <summary>Initializes a new instance of the <see cref="T:System.Web.Mail.MailMessage" /> class.</summary> |
58 | 45 | <remarks>To be added.</remarks>
|
59 | 46 | </Docs>
|
60 | 47 | </Member>
|
|
82 | 69 | <ReturnType>System.Collections.IList</ReturnType>
|
83 | 70 | </ReturnValue>
|
84 | 71 | <Docs>
|
85 |
| - <summary>Specifies the collection of attachments that are transmitted with the message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 72 | + <summary>Specifies the collection of attachments that are transmitted with the message.</summary> |
86 | 73 | <value>An <see cref="T:System.Collections.IList" /> collection of <see cref="T:System.Web.Mail.MailAttachment" /> objects.</value>
|
87 |
| - <remarks> |
88 |
| - <format type="text/markdown"><] |
97 |
| - [!code-vb[System.Web.Mail.MailMessage.Attachments#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage.Attachments/VB/attachmentsample.vb#1)] |
98 |
| -
|
99 |
| - ]]></format> |
100 |
| - </remarks> |
| 74 | + <remarks>To be added.</remarks> |
101 | 75 | </Docs>
|
102 | 76 | </Member>
|
103 | 77 | <Member MemberName="Bcc">
|
|
128 | 102 | <ReturnType>System.String</ReturnType>
|
129 | 103 | </ReturnValue>
|
130 | 104 | <Docs>
|
131 |
| - <summary>Gets or sets a semicolon-delimited list of email addresses that receive a blind carbon copy (BCC) of the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 105 | + <summary>Gets or sets a semicolon-delimited list of email addresses that receive a blind carbon copy (BCC) of the email message.</summary> |
132 | 106 | <value>A semicolon-delimited list of email addresses that receive a blind carbon copy (BCC) of the email message.</value>
|
133 | 107 | <remarks>
|
134 | 108 | <format type="text/markdown"><] |
145 |
| - [!code-vb[System.Web.Mail.MailMessage.Bcc#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage.Bcc/VB/systemwebmailmailmessagebcc.vb#1)] |
146 |
| -
|
147 | 115 | ]]></format>
|
148 | 116 | </remarks>
|
149 | 117 | </Docs>
|
|
176 | 144 | <ReturnType>System.String</ReturnType>
|
177 | 145 | </ReturnValue>
|
178 | 146 | <Docs>
|
179 |
| - <summary>Gets or sets the body of the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 147 | + <summary>Gets or sets the body of the email message.</summary> |
180 | 148 | <value>The body of the email message.</value>
|
181 | 149 | <remarks>To be added.</remarks>
|
182 | 150 | </Docs>
|
|
209 | 177 | <ReturnType>System.Text.Encoding</ReturnType>
|
210 | 178 | </ReturnValue>
|
211 | 179 | <Docs>
|
212 |
| - <summary>Gets or sets the encoding type of the body of the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 180 | + <summary>Gets or sets the encoding type of the body of the email message.</summary> |
213 | 181 | <value>One of the <see cref="T:System.Text.Encoding" /> values that indicates the encoding type of the body of the email message.</value>
|
214 |
| - <remarks> |
215 |
| - <format type="text/markdown"><] |
219 |
| - [!code-vb[System.Web.Mail.MailMessage.BodyEncoding#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage.BodyEncoding/VB/systemwebmailmailmessagebodyencoding.vb#1)] |
220 |
| -
|
221 |
| - ]]></format> |
222 |
| - </remarks> |
| 182 | + <remarks>To be added.</remarks> |
223 | 183 | </Docs>
|
224 | 184 | </Member>
|
225 | 185 | <Member MemberName="BodyFormat">
|
|
250 | 210 | <ReturnType>System.Web.Mail.MailFormat</ReturnType>
|
251 | 211 | </ReturnValue>
|
252 | 212 | <Docs>
|
253 |
| - <summary>Gets or sets the content type of the body of the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 213 | + <summary>Gets or sets the content type of the body of the email message.</summary> |
254 | 214 | <value>One of the <see cref="T:System.Web.Mail.MailFormat" /> values.</value>
|
255 |
| - <remarks> |
256 |
| - <format type="text/markdown"><] |
260 |
| - [!code-vb[System.Web.Mail.MailMessage.BodyFormat#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage.BodyFormat/VB/systemwebmailmailmessagebodyformat.vb#1)] |
261 |
| -
|
262 |
| - ]]></format> |
263 |
| - </remarks> |
| 215 | + <remarks>To be added.</remarks> |
264 | 216 | </Docs>
|
265 | 217 | </Member>
|
266 | 218 | <Member MemberName="Cc">
|
|
291 | 243 | <ReturnType>System.String</ReturnType>
|
292 | 244 | </ReturnValue>
|
293 | 245 | <Docs>
|
294 |
| - <summary>Gets or sets a semicolon-delimited list of email addresses that receive a carbon copy (CC) of the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 246 | + <summary>Gets or sets a semicolon-delimited list of email addresses that receive a carbon copy (CC) of the email message.</summary> |
295 | 247 | <value>A semicolon-delimited list of email addresses that receive a carbon copy (CC) of the email message.</value>
|
296 | 248 | <remarks>
|
297 | 249 | <format type="text/markdown"><] |
306 |
| - [!code-vb[System.Web.Mail.MailMessage.Cc#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage.Cc/VB/systemwebmailmailmessagecc.vb#1)] |
307 |
| -
|
308 | 254 | ]]></format>
|
309 | 255 | </remarks>
|
310 | 256 | </Docs>
|
|
333 | 279 | <ReturnType>System.Collections.IDictionary</ReturnType>
|
334 | 280 | </ReturnValue>
|
335 | 281 | <Docs>
|
336 |
| - <summary>Gets a collection of objects that map to Microsoft Collaboration Data Objects (CDO) fields. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 282 | + <summary>Gets a collection of objects that map to Microsoft Collaboration Data Objects (CDO) fields.</summary> |
337 | 283 | <value>An <see cref="T:System.Collections.IDictionary" /> collection of objects that map to Collaboration Data Objects (CDO) fields.</value>
|
338 | 284 | <remarks>
|
339 | 285 | <format type="text/markdown">< and [Configuration CoClass](https://learn.microsoft.com/previous-versions/office/developer/exchange-server-2003/ms870485(v=exchg.65)). |
343 |
| -
|
344 |
| -
|
345 |
| -
|
346 |
| -## Examples |
347 |
| - The following code example demonstrates using the <xref:System.Web.Mail.MailMessage.Fields%2A> property to send your user name and password to a Simple Mail Transfer Protocol (SMTP) server for authentication. |
348 |
| -
|
349 |
| - [!code-csharp[System.Web.Mail.MailMessage.Fields#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Mail.MailMessage.Fields/CS/MailMessageFieldscs.aspx#1)] |
350 |
| - [!code-vb[System.Web.Mail.MailMessage.Fields#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage.Fields/VB/MailMessageFieldsvb.aspx#1)] |
| 288 | + The <xref:System.Web.Mail.MailMessage.Fields%2A> property is used to set extended properties for Collaboration Data Objects (CDO). For more information about CDO, see [Collaboration Data Objects](https://learn.microsoft.com/archive/msdn-magazine/2000/june/collaboration-data-objects-send-microsoft-exchange-appointment-reminders-to-your-pager-using-cdo). |
351 | 289 |
|
352 | 290 | ]]></format>
|
353 | 291 | </remarks>
|
|
381 | 319 | <ReturnType>System.String</ReturnType>
|
382 | 320 | </ReturnValue>
|
383 | 321 | <Docs>
|
384 |
| - <summary>Gets or sets the email address of the sender. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 322 | + <summary>Gets or sets the email address of the sender.</summary> |
385 | 323 | <value>The sender's email address.</value>
|
386 |
| - <remarks> |
387 |
| - <format type="text/markdown"><] |
391 |
| - [!code-vb[SystemWebMailMailMessageFrom#1](~/snippets/visualbasic/VS_Snippets_WebNet/SystemWebMailMailMessageFrom/VB/systemwebmailmailmessagefrom.vb#1)] |
392 |
| -
|
393 |
| - ]]></format> |
394 |
| - </remarks> |
| 324 | + <remarks>To be added.</remarks> |
395 | 325 | </Docs>
|
396 | 326 | </Member>
|
397 | 327 | <Member MemberName="Headers">
|
|
418 | 348 | <ReturnType>System.Collections.IDictionary</ReturnType>
|
419 | 349 | </ReturnValue>
|
420 | 350 | <Docs>
|
421 |
| - <summary>Specifies the custom headers that are transmitted with the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 351 | + <summary>Specifies the custom headers that are transmitted with the email message.</summary> |
422 | 352 | <value>An <see cref="T:System.Collections.IDictionary" /> collection of custom headers.</value>
|
423 | 353 | <remarks>To be added.</remarks>
|
424 | 354 | </Docs>
|
|
451 | 381 | <ReturnType>System.Web.Mail.MailPriority</ReturnType>
|
452 | 382 | </ReturnValue>
|
453 | 383 | <Docs>
|
454 |
| - <summary>Gets or sets the priority of the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 384 | + <summary>Gets or sets the priority of the email message.</summary> |
455 | 385 | <value>One of the <see cref="T:System.Web.Mail.MailPriority" /> values.</value>
|
456 |
| - <remarks> |
457 |
| - <format type="text/markdown"><] |
461 |
| - [!code-vb[System.Web.Mail.MailMessage.Priority#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage.Priority/VB/systemwebmailmailmessagepriority.vb#1)] |
462 |
| -
|
463 |
| - ]]></format> |
464 |
| - </remarks> |
| 386 | + <remarks>To be added.</remarks> |
465 | 387 | </Docs>
|
466 | 388 | </Member>
|
467 | 389 | <Member MemberName="Subject">
|
|
492 | 414 | <ReturnType>System.String</ReturnType>
|
493 | 415 | </ReturnValue>
|
494 | 416 | <Docs>
|
495 |
| - <summary>Gets or sets the subject line of the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 417 | + <summary>Gets or sets the subject line of the email message.</summary> |
496 | 418 | <value>The subject line of the email message.</value>
|
497 | 419 | <remarks>To be added.</remarks>
|
498 | 420 | </Docs>
|
|
525 | 447 | <ReturnType>System.String</ReturnType>
|
526 | 448 | </ReturnValue>
|
527 | 449 | <Docs>
|
528 |
| - <summary>Gets or sets a semicolon-delimited list of recipient email addresses. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 450 | + <summary>Gets or sets a semicolon-delimited list of recipient email addresses.</summary> |
529 | 451 | <value>A semicolon-delimited list of email addresses.</value>
|
530 | 452 | <remarks>
|
531 | 453 | <format type="text/markdown"><] |
540 |
| - [!code-vb[SystemWebMailMailMessageTo#1](~/snippets/visualbasic/VS_Snippets_WebNet/SystemWebMailMailMessageTo/VB/systemwebmailmailmessageto.vb#1)] |
541 |
| -
|
542 | 458 | ]]></format>
|
543 | 459 | </remarks>
|
544 | 460 | </Docs>
|
|
571 | 487 | <ReturnType>System.String</ReturnType>
|
572 | 488 | </ReturnValue>
|
573 | 489 | <Docs>
|
574 |
| - <summary>Gets or sets the <see langword="Content-Base" /> HTTP header, the URL base of all relative URLs used within the HTML-encoded body of the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 490 | + <summary>Gets or sets the <see langword="Content-Base" /> HTTP header, the URL base of all relative URLs used within the HTML-encoded body of the email message.</summary> |
575 | 491 | <value>The URL base.</value>
|
576 |
| - <remarks> |
577 |
| - <format type="text/markdown"><] |
581 |
| - [!code-vb[System.Web.Mail.MailMessage.UrlContentBase#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage.UrlContentBase/VB/systemwebmailmailmessageurlcontentbase.vb#1)] |
582 |
| -
|
583 |
| - ]]></format> |
584 |
| - </remarks> |
| 492 | + <remarks>To be added.</remarks> |
585 | 493 | </Docs>
|
586 | 494 | </Member>
|
587 | 495 | <Member MemberName="UrlContentLocation">
|
|
612 | 520 | <ReturnType>System.String</ReturnType>
|
613 | 521 | </ReturnValue>
|
614 | 522 | <Docs>
|
615 |
| - <summary>Gets or sets the <see langword="Content-Location" /> HTTP header for the email message. Recommended alternative: <see cref="N:System.Net.Mail" />.</summary> |
| 523 | + <summary>Gets or sets the <see langword="Content-Location" /> HTTP header for the email message.</summary> |
616 | 524 | <value>The <see langword="content-base" /> header.</value>
|
617 |
| - <remarks> |
618 |
| - <format type="text/markdown"><] |
622 |
| - [!code-aspx-vb[System.Web.Mail.MailMessage#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Mail.MailMessage/VB/mailformvb.aspx#1)] |
623 |
| -
|
624 |
| - ]]></format> |
625 |
| - </remarks> |
| 525 | + <remarks>To be added.</remarks> |
626 | 526 | </Docs>
|
627 | 527 | </Member>
|
628 | 528 | </Members>
|
|
0 commit comments