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

  • Home
  • SEARCH
  • 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 7041063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:59:35+00:00 2026-05-28T01:59:35+00:00

This my working method to send a email Sub emailConfirm() Dim email As String

  • 0

This my working method to send a email

       Sub emailConfirm()
    Dim email As String = txtMail.Text
    Dim name As String = txtPrenom.Text + txtNom.Text

    Dim mail As MailMessage = New MailMessage()
    'mail.To.Add("francois.smtp@gmail.com")
    mail.To.Add(email)
    mail.From = New MailAddress("sumerman@gmail.com.com")
    mail.Subject = "Email using Gmail"

    Dim Body As String = "Hi " + name + ", this mail is to confirm your registration" + "Click on    the link to confirm please" + " Link(check note)  "
    mail.Body = Body

    mail.IsBodyHtml = True
    Dim smtp As SmtpClient = New SmtpClient()
    smtp.Host = "smtp.gmail.com"
    smtp.Port = 587
    smtp.Credentials = New System.Net.NetworkCredential("sumerman@gmail.com", "12345")
    smtp.EnableSsl = True
    smtp.Send(mail)


End Sub

note:I want to send Link contains a unique identifier and verify the unique identifier in the login.aspx

I don’t know when to do this…

I found nothing interesting on the net …

This is in Vb.net

I will add security later

Thank’s for your helping!

  • 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-28T01:59:35+00:00Added an answer on May 28, 2026 at 1:59 am

    Well, first off don’t put the username and password in the email itself. That’s a bit sloppy.

    Second, most sites now do the following:

    1. User creates account
    2. Email sent to user. Link in email contains a unique identifier, not the username and password.
    3. User clicks on link. At this point the page tests to see if the unique id is valid. If so, it tells them Thank You for confirming your account. It then displays the login form.
    4. User enters their login credentials.

    Note that the email did NOT send the actual username/pw info.

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

Sidebar

Related Questions

I currently have this working but it requires me to have a static method
I have this code working in C#: var request = (HttpWebRequest)WebRequest.Create(https://x.com/service); request.Method = GET;
I'm working on a menu-generating HtmlHelper extension method. This method will need to know
I am working through Beginning iPhone Development . In the book is this method:
I have working with email option. i can send the Email using the intent
UPDATE: I managed to get this thing working! Turns out, you NEED to send
I'm working on a voting app where I need to send an email to
This is the method I am attempting to use whilst trying to send a
Hi I've just set up a method in my website to send an email
I have this working definition: IDENTIFIER [a-zA-Z][a-zA-Z0-9]* I don't want to keep repeating the

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.