What is the difference between Sender and From in EWS?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
The Mailbox
element has child elements named Sender
and From
. And I'm really confused about the difference between them.
This is what the documentation says about Sender
:
The Sender element specifies the e-mail address of the person who sent an item
And about From
:
The From element represents the address from which the message was sent
Really, it doesn't make any difference for me. The XML that I see is always the same for the both elements. So what is the real difference between these two?
office365 exchange-server exchangewebservices
add a comment |
The Mailbox
element has child elements named Sender
and From
. And I'm really confused about the difference between them.
This is what the documentation says about Sender
:
The Sender element specifies the e-mail address of the person who sent an item
And about From
:
The From element represents the address from which the message was sent
Really, it doesn't make any difference for me. The XML that I see is always the same for the both elements. So what is the real difference between these two?
office365 exchange-server exchangewebservices
Check tools.ietf.org/html/rfc4021#section-2.1.2link
– Gert Jan Kraaijeveld
Jan 4 at 15:13
Thanks a lot for your response, but I still don't understand what the actual difference is. Can you please explain it in a plain language?
– Andrey Chernukha
Jan 4 at 15:20
The difference is subtle. Sender and From are redundant in most cases. More explanation can be read here link paragraph 4.4. Bottomline: Just From is OK. But I can imagine some mailers require both fields to be defined
– Gert Jan Kraaijeveld
Jan 4 at 15:35
If you can imagine such a case could you please describe it as simply as possible as an answer to my question. I will accept and upvote your answer and you will get 25 points)))
– Andrey Chernukha
Jan 4 at 15:43
Sorry, I can not make it clearer then the RFC, I referenced before, does.
– Gert Jan Kraaijeveld
Jan 4 at 16:08
add a comment |
The Mailbox
element has child elements named Sender
and From
. And I'm really confused about the difference between them.
This is what the documentation says about Sender
:
The Sender element specifies the e-mail address of the person who sent an item
And about From
:
The From element represents the address from which the message was sent
Really, it doesn't make any difference for me. The XML that I see is always the same for the both elements. So what is the real difference between these two?
office365 exchange-server exchangewebservices
The Mailbox
element has child elements named Sender
and From
. And I'm really confused about the difference between them.
This is what the documentation says about Sender
:
The Sender element specifies the e-mail address of the person who sent an item
And about From
:
The From element represents the address from which the message was sent
Really, it doesn't make any difference for me. The XML that I see is always the same for the both elements. So what is the real difference between these two?
office365 exchange-server exchangewebservices
office365 exchange-server exchangewebservices
asked Jan 3 at 17:01


Andrey ChernukhaAndrey Chernukha
13.4k1374143
13.4k1374143
Check tools.ietf.org/html/rfc4021#section-2.1.2link
– Gert Jan Kraaijeveld
Jan 4 at 15:13
Thanks a lot for your response, but I still don't understand what the actual difference is. Can you please explain it in a plain language?
– Andrey Chernukha
Jan 4 at 15:20
The difference is subtle. Sender and From are redundant in most cases. More explanation can be read here link paragraph 4.4. Bottomline: Just From is OK. But I can imagine some mailers require both fields to be defined
– Gert Jan Kraaijeveld
Jan 4 at 15:35
If you can imagine such a case could you please describe it as simply as possible as an answer to my question. I will accept and upvote your answer and you will get 25 points)))
– Andrey Chernukha
Jan 4 at 15:43
Sorry, I can not make it clearer then the RFC, I referenced before, does.
– Gert Jan Kraaijeveld
Jan 4 at 16:08
add a comment |
Check tools.ietf.org/html/rfc4021#section-2.1.2link
– Gert Jan Kraaijeveld
Jan 4 at 15:13
Thanks a lot for your response, but I still don't understand what the actual difference is. Can you please explain it in a plain language?
– Andrey Chernukha
Jan 4 at 15:20
The difference is subtle. Sender and From are redundant in most cases. More explanation can be read here link paragraph 4.4. Bottomline: Just From is OK. But I can imagine some mailers require both fields to be defined
– Gert Jan Kraaijeveld
Jan 4 at 15:35
If you can imagine such a case could you please describe it as simply as possible as an answer to my question. I will accept and upvote your answer and you will get 25 points)))
– Andrey Chernukha
Jan 4 at 15:43
Sorry, I can not make it clearer then the RFC, I referenced before, does.
– Gert Jan Kraaijeveld
Jan 4 at 16:08
Check tools.ietf.org/html/rfc4021#section-2.1.2link
– Gert Jan Kraaijeveld
Jan 4 at 15:13
Check tools.ietf.org/html/rfc4021#section-2.1.2link
– Gert Jan Kraaijeveld
Jan 4 at 15:13
Thanks a lot for your response, but I still don't understand what the actual difference is. Can you please explain it in a plain language?
– Andrey Chernukha
Jan 4 at 15:20
Thanks a lot for your response, but I still don't understand what the actual difference is. Can you please explain it in a plain language?
– Andrey Chernukha
Jan 4 at 15:20
The difference is subtle. Sender and From are redundant in most cases. More explanation can be read here link paragraph 4.4. Bottomline: Just From is OK. But I can imagine some mailers require both fields to be defined
– Gert Jan Kraaijeveld
Jan 4 at 15:35
The difference is subtle. Sender and From are redundant in most cases. More explanation can be read here link paragraph 4.4. Bottomline: Just From is OK. But I can imagine some mailers require both fields to be defined
– Gert Jan Kraaijeveld
Jan 4 at 15:35
If you can imagine such a case could you please describe it as simply as possible as an answer to my question. I will accept and upvote your answer and you will get 25 points)))
– Andrey Chernukha
Jan 4 at 15:43
If you can imagine such a case could you please describe it as simply as possible as an answer to my question. I will accept and upvote your answer and you will get 25 points)))
– Andrey Chernukha
Jan 4 at 15:43
Sorry, I can not make it clearer then the RFC, I referenced before, does.
– Gert Jan Kraaijeveld
Jan 4 at 16:08
Sorry, I can not make it clearer then the RFC, I referenced before, does.
– Gert Jan Kraaijeveld
Jan 4 at 16:08
add a comment |
1 Answer
1
active
oldest
votes
In plain English:
From
is who the message is from. It is who the recipient's email client should display the message is from.
Sender
is usually the same as From
, unless the message was originated by somebody, or some other system than the actual From
address.
Example: Gmail when it's configured for a domain not hosted by Gmail. The From
would contain you@yourdomain.com, but the Sender
will contain someone@gmail.com. Many mail clients will render this as someone@gmail.com on behalf of you@yourdomain.com.
From Official RFC - Registration of Mail and MIME Header Fields
2.1.2. Header Field: From
Description:
Mailbox of message author
[...]
Related information:
Specifies the author(s) of the message; that is, the mailbox(es)
of the person(s) or system(s) responsible for the writing of the
message. Defined as standard by RFC 822.
2.1.3. Header Field: Sender
Description:
Mailbox of message sender
[...]
Related information:
Specifies the mailbox of the agent responsible for the actual
transmission of the message. Defined as standard by RFC 822.
Thanks a lot for your response. I'm extremely sorry for asking dumb questions, but how can it be that " the message was originated by somebody, or some other system than the actual From address"? I cannot imagine that. Can you please describe a real world scenario when this might happen?
– Andrey Chernukha
Jan 5 at 14:41
No problem. I have updated my answer with an example
– MadDev
Jan 7 at 9:04
Thanks a lot!!!
– Andrey Chernukha
Jan 7 at 12:35
Another example one user sending on behalf of another user - e.g. a secretary sending on behalf of an executive.
– Dmitry Streblechenko
Jan 7 at 15:16
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54026660%2fwhat-is-the-difference-between-sender-and-from-in-ews%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In plain English:
From
is who the message is from. It is who the recipient's email client should display the message is from.
Sender
is usually the same as From
, unless the message was originated by somebody, or some other system than the actual From
address.
Example: Gmail when it's configured for a domain not hosted by Gmail. The From
would contain you@yourdomain.com, but the Sender
will contain someone@gmail.com. Many mail clients will render this as someone@gmail.com on behalf of you@yourdomain.com.
From Official RFC - Registration of Mail and MIME Header Fields
2.1.2. Header Field: From
Description:
Mailbox of message author
[...]
Related information:
Specifies the author(s) of the message; that is, the mailbox(es)
of the person(s) or system(s) responsible for the writing of the
message. Defined as standard by RFC 822.
2.1.3. Header Field: Sender
Description:
Mailbox of message sender
[...]
Related information:
Specifies the mailbox of the agent responsible for the actual
transmission of the message. Defined as standard by RFC 822.
Thanks a lot for your response. I'm extremely sorry for asking dumb questions, but how can it be that " the message was originated by somebody, or some other system than the actual From address"? I cannot imagine that. Can you please describe a real world scenario when this might happen?
– Andrey Chernukha
Jan 5 at 14:41
No problem. I have updated my answer with an example
– MadDev
Jan 7 at 9:04
Thanks a lot!!!
– Andrey Chernukha
Jan 7 at 12:35
Another example one user sending on behalf of another user - e.g. a secretary sending on behalf of an executive.
– Dmitry Streblechenko
Jan 7 at 15:16
add a comment |
In plain English:
From
is who the message is from. It is who the recipient's email client should display the message is from.
Sender
is usually the same as From
, unless the message was originated by somebody, or some other system than the actual From
address.
Example: Gmail when it's configured for a domain not hosted by Gmail. The From
would contain you@yourdomain.com, but the Sender
will contain someone@gmail.com. Many mail clients will render this as someone@gmail.com on behalf of you@yourdomain.com.
From Official RFC - Registration of Mail and MIME Header Fields
2.1.2. Header Field: From
Description:
Mailbox of message author
[...]
Related information:
Specifies the author(s) of the message; that is, the mailbox(es)
of the person(s) or system(s) responsible for the writing of the
message. Defined as standard by RFC 822.
2.1.3. Header Field: Sender
Description:
Mailbox of message sender
[...]
Related information:
Specifies the mailbox of the agent responsible for the actual
transmission of the message. Defined as standard by RFC 822.
Thanks a lot for your response. I'm extremely sorry for asking dumb questions, but how can it be that " the message was originated by somebody, or some other system than the actual From address"? I cannot imagine that. Can you please describe a real world scenario when this might happen?
– Andrey Chernukha
Jan 5 at 14:41
No problem. I have updated my answer with an example
– MadDev
Jan 7 at 9:04
Thanks a lot!!!
– Andrey Chernukha
Jan 7 at 12:35
Another example one user sending on behalf of another user - e.g. a secretary sending on behalf of an executive.
– Dmitry Streblechenko
Jan 7 at 15:16
add a comment |
In plain English:
From
is who the message is from. It is who the recipient's email client should display the message is from.
Sender
is usually the same as From
, unless the message was originated by somebody, or some other system than the actual From
address.
Example: Gmail when it's configured for a domain not hosted by Gmail. The From
would contain you@yourdomain.com, but the Sender
will contain someone@gmail.com. Many mail clients will render this as someone@gmail.com on behalf of you@yourdomain.com.
From Official RFC - Registration of Mail and MIME Header Fields
2.1.2. Header Field: From
Description:
Mailbox of message author
[...]
Related information:
Specifies the author(s) of the message; that is, the mailbox(es)
of the person(s) or system(s) responsible for the writing of the
message. Defined as standard by RFC 822.
2.1.3. Header Field: Sender
Description:
Mailbox of message sender
[...]
Related information:
Specifies the mailbox of the agent responsible for the actual
transmission of the message. Defined as standard by RFC 822.
In plain English:
From
is who the message is from. It is who the recipient's email client should display the message is from.
Sender
is usually the same as From
, unless the message was originated by somebody, or some other system than the actual From
address.
Example: Gmail when it's configured for a domain not hosted by Gmail. The From
would contain you@yourdomain.com, but the Sender
will contain someone@gmail.com. Many mail clients will render this as someone@gmail.com on behalf of you@yourdomain.com.
From Official RFC - Registration of Mail and MIME Header Fields
2.1.2. Header Field: From
Description:
Mailbox of message author
[...]
Related information:
Specifies the author(s) of the message; that is, the mailbox(es)
of the person(s) or system(s) responsible for the writing of the
message. Defined as standard by RFC 822.
2.1.3. Header Field: Sender
Description:
Mailbox of message sender
[...]
Related information:
Specifies the mailbox of the agent responsible for the actual
transmission of the message. Defined as standard by RFC 822.
edited Jan 7 at 9:03
answered Jan 4 at 16:59
MadDevMadDev
788820
788820
Thanks a lot for your response. I'm extremely sorry for asking dumb questions, but how can it be that " the message was originated by somebody, or some other system than the actual From address"? I cannot imagine that. Can you please describe a real world scenario when this might happen?
– Andrey Chernukha
Jan 5 at 14:41
No problem. I have updated my answer with an example
– MadDev
Jan 7 at 9:04
Thanks a lot!!!
– Andrey Chernukha
Jan 7 at 12:35
Another example one user sending on behalf of another user - e.g. a secretary sending on behalf of an executive.
– Dmitry Streblechenko
Jan 7 at 15:16
add a comment |
Thanks a lot for your response. I'm extremely sorry for asking dumb questions, but how can it be that " the message was originated by somebody, or some other system than the actual From address"? I cannot imagine that. Can you please describe a real world scenario when this might happen?
– Andrey Chernukha
Jan 5 at 14:41
No problem. I have updated my answer with an example
– MadDev
Jan 7 at 9:04
Thanks a lot!!!
– Andrey Chernukha
Jan 7 at 12:35
Another example one user sending on behalf of another user - e.g. a secretary sending on behalf of an executive.
– Dmitry Streblechenko
Jan 7 at 15:16
Thanks a lot for your response. I'm extremely sorry for asking dumb questions, but how can it be that " the message was originated by somebody, or some other system than the actual From address"? I cannot imagine that. Can you please describe a real world scenario when this might happen?
– Andrey Chernukha
Jan 5 at 14:41
Thanks a lot for your response. I'm extremely sorry for asking dumb questions, but how can it be that " the message was originated by somebody, or some other system than the actual From address"? I cannot imagine that. Can you please describe a real world scenario when this might happen?
– Andrey Chernukha
Jan 5 at 14:41
No problem. I have updated my answer with an example
– MadDev
Jan 7 at 9:04
No problem. I have updated my answer with an example
– MadDev
Jan 7 at 9:04
Thanks a lot!!!
– Andrey Chernukha
Jan 7 at 12:35
Thanks a lot!!!
– Andrey Chernukha
Jan 7 at 12:35
Another example one user sending on behalf of another user - e.g. a secretary sending on behalf of an executive.
– Dmitry Streblechenko
Jan 7 at 15:16
Another example one user sending on behalf of another user - e.g. a secretary sending on behalf of an executive.
– Dmitry Streblechenko
Jan 7 at 15:16
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54026660%2fwhat-is-the-difference-between-sender-and-from-in-ews%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Check tools.ietf.org/html/rfc4021#section-2.1.2link
– Gert Jan Kraaijeveld
Jan 4 at 15:13
Thanks a lot for your response, but I still don't understand what the actual difference is. Can you please explain it in a plain language?
– Andrey Chernukha
Jan 4 at 15:20
The difference is subtle. Sender and From are redundant in most cases. More explanation can be read here link paragraph 4.4. Bottomline: Just From is OK. But I can imagine some mailers require both fields to be defined
– Gert Jan Kraaijeveld
Jan 4 at 15:35
If you can imagine such a case could you please describe it as simply as possible as an answer to my question. I will accept and upvote your answer and you will get 25 points)))
– Andrey Chernukha
Jan 4 at 15:43
Sorry, I can not make it clearer then the RFC, I referenced before, does.
– Gert Jan Kraaijeveld
Jan 4 at 16:08