Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 775813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:21:06+00:00 2026-05-14T19:21:06+00:00

Using this: MailMessage mm = new MailMessage(); What is the difference between: mm.Sender =

  • 0

Using this:

MailMessage mm = new MailMessage();

What is the difference between:

mm.Sender = sender; and mm.From = from; ?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T19:21:06+00:00Added an answer on May 14, 2026 at 7:21 pm

    The Sender property sets the Sender header. There can only be one email address on it, and if the From address has more than one email address, this header has to exist.

    The From property sets the From header. It can have multiple email addresses.

    See RFC 5322 (section 3.6.2):

    The originator fields of a message consist of the from field, the
    sender field (when applicable), and optionally the reply-to field.
    The from field consists of the field name "From" and a comma-
    separated list of one or more mailbox specifications. If the from
    field contains more than one mailbox specification in the mailbox-
    list, then the sender field, containing the field name "Sender" and a
    single mailbox specification, MUST appear in the message.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

using this code I get the object representing Visual Studio: var dte2 = Marshal.GetActiveObject(VisualStudio.DTE.10.0)
Hello my smart friends i have this contact form that i am working on.
I want to send an encrypted and signed mail without using any third-party API.
I have successfully sent email to a remote server using port their port 25
I am sending emails via an html page using javascript and the outlook activex
I'm allowing users to manage a distribution list stored in a database. Users are
Is it me or is there a bug in the MailAddress class in System.Net.Mail?
I have a C# service that runs continuously with user credentials (i.e not as
The question: Is it possible to configure multiple SMTP servers or update the SMTP
Trying to send mail with the following script, I substitute $1 with the email

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.