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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:11:48+00:00 2026-05-28T00:11:48+00:00

I want to send a Link that contains a unique identifier and verify the

  • 0

I want to send a Link that contains a unique identifier and verify the Guid in an another page named login.aspx

So how do I add the link and how do I retrieve the Guid from the login.aspx to compare it to the one I saved in the SQL database…

This is the code

    Sub emailConfirm()
    Dim email As String = txtMail.Text
    Dim nom As String = txtPrenom.Text + txtNom.Text
    Dim pass As String = txtPass.Text
    Dim user As String = txtUserName.Text
    Dim mail As MailMessage = New MailMessage()
    Dim sGUID As String
    sGUID = System.Guid.NewGuid.ToString()
    (I will put the guid in the Sql DB) 
    mail.To.Add(email)
    mail.From = New MailAddress("superman@gmail.com")
    mail.Subject = "Email Comfirmation de nouvel utilisateur"

    Dim Body As String = "Hi " + nom + ", this mail is to confirm your registration" + "Click on    the link to confirm your membership please"+"href="login.aspx?ID="& sGUID"(This is not work...)
    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("superman@gmail.com", "1234")
    smtp.EnableSsl = True
    smtp.Send(mail)


End Sub

thanks for your help!!!

Its in Vb.net

  • 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-28T00:11:49+00:00Added an answer on May 28, 2026 at 12:11 am

    Step 1:
    You need to put the full url in the href not just login.aspx.
    Example: “href=”http://nameofmywebsite.com/login.aspx?ID=”& sGUID”

    Step 2
    On the login page you would retrieve the GUID from the querystring that you passed in the href above.
    Example:

    request.querystring.get(“sGUID”)

    Hope this helps.

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

Sidebar

Related Questions

I have a D-Link DWM-156 3G USB modem that I want to send AT-commands
I want to send a order tracking link on the confirmation email that magento
I have a model: ThreadParticipation I want to build a link that send the
I want to send the link which contains a path to the any file
I want to send message/notification to friends with customized subject with a link in
I want to send an App link within the App like this: http://itunes.apple.com/app/myiphoenapp/id373185673 The
I have a link on a page, and I would like to send a
i want to send certain emails to my clients and a link is provided
I have a HTML form that contains many links (around 17). I want, when
I have a folder that contains a bunch of csv files and I want

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.