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 8211157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:20:05+00:00 2026-06-07T10:20:05+00:00

I have a ASP.NET MVC 4 project with EF. I’ m using System.Net.Mail to

  • 0

I have a ASP.NET MVC 4 project with EF. I’ m using System.Net.Mail to send emails programmatically.

MailMessage msg = new MailMessage();
msg.From = new MailAddress("JohnDoe@gmail.com", "John Doe");
msg.To.Add(new MailAddress("janedoe@gmail.com"));
msg.Subject = "Hi.";
msg.Body= "Aleluia";
var smtp = new SmtpClient("mail.johndoe.com", 999);
smtp.EnableSsl = true;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.UseDefaultCredentials = true;
smtp.Credentials = new System.Net.NetworkCredential("JohnDoe@gmail.com", "johnspass");
smtpclient.Send(msg);

Q : How can I save a copy of this email in John Doe’s Sent Items ? If I have Outlook can I use this ?

Q2 : How can I elaborate this email’s body(to add a image in the left top corner, to add a bolded text) ?

  • 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-06-07T10:20:06+00:00Added an answer on June 7, 2026 at 10:20 am

    I’m not sure if you can achieve this from a website, unless you have a way to manipulate a backend mail server and have access to manipulate users mailboxes.

    The way outlook does this is by pushing any new sent email to the Sent Items folder and then it syncronizes the content with Exchange Server.

    I also think Exchange server provides the API to achieve this behavior but your website would have to run under Windows Authentication to access and manipulate each user mailbox. I dont think is a good idea to give access to individual mailboxes to a global account (in this case the website pool identity account). You also might want to look into Exchange Web Services (2007 or greater).

    This has been my experience with Exchange Server, I might be unaware of another allowed behavior and dont know anything about other mail servers in terms of APIs.

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

Sidebar

Related Questions

I am using GIT with a new ASP.NET MVC project. I have a line
I have a new asp.net mvc project and i am trying to figure out
I have an ASP.NET MVC project that I'd like to install somewhere using xcopy
Say you have an ASP.NET MVC project and are using a service layer, such
I have an existing ASP.Net MVC project that is using entities / repositories in
I have been using telerik extensions for an asp.net mvc project, more specifically the
I am knee deep in starting a new ASP.NET MVC project. Several tutorials have
I have an Asp.Net mvc 3 project I'm using razor, and need to generate
I have an ASP.NET MVC project in C# using Forms Authentication and Active Directory
I have a new asp.net mvc 3 project with following structure: Views: /Home/Index.cshtml @{

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.