Search results for query: *

  1. K

    Sending confirmation email to user

    Hello I am aiming to use Microsoft's AspNet Identity template to send an email confirmation link to a newly registered user. This is the code I have in my register_test.aspx.vb file: Protected Sub CreateUser_Click(sender As Object, e As EventArgs) Dim userName As String = Email.Text...
  2. K

    Why page not launching

    Sorry for not posting the rest of the code: Dim link As String = builder.Uri.ToString() Dim myMessage As New MailMessage Dim Smtpserver As New SmtpClient Dim strEmailValue As String = Request.Form("strEmailTextBox") 'strEmailValue = user email; strEmailTextBox...
  3. K

    Why page not launching

    Hello My 'forgotten password' page does not send any email to the user which would otherwise contain a link to reset the password. When the link is clicked, a new page, newPassword.aspx, should be displayed for the user to reset the password. I am trying to identify why the email is not being...
  4. K

    CC not working in SMTP code

    Hello In the following code, the Webmaster receives the sender's email, but his assistant, who should be copied in (CC) does not. Instead, what is happening is that the person who should be copied in, well his email address appears under CC in the Webmaster's inbox, but he does not receive the...
  5. K

    Authentication is required for relay - error

    The error message that I got seems to be related to this line of code: Smtpserver.Send(myMessage) However, the following code, in another Web page but the same Web hosting service and SMTP credentials and host name, and which is the same as the code generating my authentication error, does...
  6. K

    Authentication is required for relay - error

    Hello Further to my first post, when I click on 'Start debugging', I see the following: Which option would I choose there, please? This is in my Output pane: Thanks again
  7. K

    Authentication is required for relay - error

    Thanks for your reply. The domain is hosted by the same Web hosting service that provides the SMTP server. I use the same SMTP credentials (SMTP host, username, password) for this particular form as I do for the contact form on another web page (same hosting service)...
  8. K

    Authentication is required for relay - error

    Hello When I complete my forgot.aspx field here http://www.dimadayoub.net/forgot.aspx I get the following error: I know that this error usually relates to SMTP credentials (email and password) and the name of the SMTP host, but I am assured by my Web hosting service that I have them all...
  9. K

    Question Incorrect hyperlink in send emails as HTML

    Hello JohnH Thanks for your reply. I didn't realise you meant space here: "Hello " It's resolved now, thanks!
  10. K

    Question Incorrect hyperlink in send emails as HTML

    Hello John Thanks for your reply. It is "Hello"[space]ampersand. If I put my cursor after "Hello", there is a space before the ampersand. It is not "Hello"& Thanks again.
  11. K

    Question Incorrect hyperlink in send emails as HTML

    Hello In my vb.net code which allows for SMTP to send emails as HTML, the user sees something like this in their email inbox: I can't quite understand why the Hello+emailaddress is a) joined together as one word and b) a hyperlink. The word 'Hello' should be followed by a space and then the...
  12. K

    How to redirect the site visitor?

    Hello I have the following in my aspx.vb file (it's a new user registration form on a Web site): Protected Sub CreateUser_Click(ByVal sender As Object, ByVal e As System.EventArgs) Using conn As OleDbConnection = New...
Back
Top