Skip to content

Commit

Permalink
Improved docs for MimeMessage.Sender
Browse files Browse the repository at this point in the history
Fixes issue #1080
  • Loading branch information
jstedfast committed Sep 29, 2024
1 parent 01a3ce5 commit b91bd22
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions MimeKit/MimeMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,15 @@ public XMessagePriority XPriority {
/// Get or set the address in the Sender header.
/// </summary>
/// <remarks>
/// The sender may differ from the addresses in <see cref="From"/> if
/// the message was sent by someone on behalf of someone else.
/// </remarks>
/// <value>The address in the Sender header.</value>
/// <para>The "Sender" field specifies the mailbox of the agent responsible for
/// the actual transmission of the message. For example, if a secretary were to send a
/// message for another person, the mailbox of the secretary would appear in the
/// "Sender" field and the mailbox of the actual author would appear in the "From"
/// field. If the originator of the message can be indicated by a single mailbox and
/// the author and transmitter are identical, the "Sender" field SHOULD NOT be used.
/// Otherwise, both fields SHOULD appear.</para>
/// </remarks>
/// <value>The address in the Sender header, if available.</value>
public MailboxAddress Sender {
get {
if ((lazyLoaded & LazyLoadedFields.Sender) == 0) {
Expand Down

0 comments on commit b91bd22

Please sign in to comment.