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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:12:53+00:00 2026-06-03T09:12:53+00:00

I have question about sending emails from MVC3 application. I already read for exmple

  • 0

I have question about sending emails from MVC3 application. I already read for exmple about ActionMailer.Net, I have seen a lot of forums and helpers from someone. Everywhere I saw SMTP server and its settings, for example in Web.config, or in appropriate method/function. Is it possible to send email without smtp settings? I am building application, which will be used by several users, I dont want to put them to need setting some SMTP…

I need to send emails like “Your password is xxxx, go to http://www.mysite.com, thank you.” and so on. I dont need to have it in any mailbox (as history), I dont want reply for it.

Is there a possibility like in php where I use mail(…) function, without setting SMTP server, I can send from -> to what ever I want.

So am I bad understanding to something. Pleas help me to figue this out. Thank you very much

  • 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-03T09:12:54+00:00Added an answer on June 3, 2026 at 9:12 am

    You have to have an SMTP server, otherwise you can’t send mail via SMTP. The same is true with PHP.

    Whether you need to have the settings depends greatly on your hosting. Most servers will have the SMTP stuff set up in a config file higher up the chain, so often you can leave the settings at their default, and ASP.Net will still be able to send mail using SMTP with no specific settings being necessary.

    However, its also possible that your host will require you to use specific SMTP settings. That’s something you’ll need to check with the people who will be hosting your site.

    If you need example code on how to send an email with minimal code, something like this should work, PROVIDED that your host doesn’t want you to specify the settings:

    var message = new MailMessage(FROM ADDRESS HERE, TO ADDRESS HERE)
            {
                Subject = "Please confirm your email",
                Body = "PUT SOME BODY COPY HERE"
    
            };
    
            var client = new SmtpClient();
    
            client.Send(message);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used Quartz.Net for queuing and sending emails from my application. I don't
I have a question about using streams in .NET to load files from disk.
I have a simple question about sending a file (XML file) from my webapp
A have ASP.NET 2.0 web application that should allow sending emails. I have a
In an ASP.NET MVC application, how should the sending of emails be handled? I've
Good Morning. I have a question about how to create an application without GUI.
Have a question about sending data between classes and activities. I currently have a
The question, I have a web application - .net 4. The client is having
I have question about NSView: Imagine a Custom View where the mouseDown, mouseDrag and
I have question about normalization. Suppose I have an applications dealing with songs. First

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.