Hello everyone!
I have a simple contact form that I want to develop further. Basically, when the user clicks 'Submit', I want a confirmation e-mail to be sent to the e-mail address entered by user. The confirmation e-mail would be quite simple, something along the lines of "Thankyou for your e-mail, we will be in contact shortly" and perhaps a copy of what they entered into the form?
If anyone has a simple solution to this then I would be interested to know what it is! Here is my code...
1 <% @Import Namespace = "System.Net.Mail" %>
2 <script runat ="server">
3
4 Sub submitQuery (Src as Object, Args as EventArgs)
5
6 Dim MailClient = new SmtpClient()
7 MailClient.Credentials = new ...
Go to the complete details ...