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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:59:04+00:00 2026-05-31T14:59:04+00:00

I am trying to send a confirmation mail after a user has registered on

  • 0

I am trying to send a confirmation mail after a user has registered on my website. I am using Webmatrix and ASP.NET to implement this.

I followed the code on this website http://www.asp.net/web-pages/tutorials/email-and-search/11-adding-email-to-your-web-site

For creating the SMTP server i used the IIS manager in Windows 7.
But its not working.

I changed the settings to

WebMail.SmtpServer = "localhost";
WebMail.SmtpPort = 25;
WebMail.EnableSsl = false;
WebMail.UserName = "name";
WebMail.From = "---@gmail.com";
WebMail.Password = "pass";

What do i put as my username and password for this? I am trying to test this on localhost. I dont have a server account.

Please help

  • 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-31T14:59:06+00:00Added an answer on May 31, 2026 at 2:59 pm

    great tutorial how to do this is
    Sending email in .NET through Gmail

    i have used it myself.

    for sure i can see one error:
    WebMail.SmtpServer = “localhost”; <– is the provider you are using to send email

    localhost is the PC what are you using (unless you have your own smtp server)

    the link will help as its only small change you need to do and you can after investigate

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

Sidebar

Related Questions

Im trying to send a mail from a asp.net script, but im getting this
I'm trying to send confirmation mails to users periodically in ASP.NET. To do this
I am new to php. Trying to send confirmation about user upload. I am
I'm trying to fill a queue with user's mails to send confirmation mails to
I'm trying to connect, using Net::SSH, to a server that immediately after login executes
I am trying to send mail using actionmailer on a Rails 3.0.1 application. Here
I'm trying to send an email using codeigniter, and would like the message to
Trying to send POST request on click event using jQuery with no luck. Here
Im trying to send a Docx file via this form that I made, the
I am trying to let the manager of a site I'm developing send mail

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.