Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="form-group">
- <label for="exampleInputEmail1">Email Body</label>
- <textarea class="form-control" rows="5" id="commentInput" name="commentInput"></textarea>
- </div>
- <div class="form-group">
- <label for="exampleInputEmail1">Email address</label>
- <input type="email" class="form-control" name="inputEmail" id="inputEmail" placeholder="Enter email">
- </div>
- <button type="submit" class="btn btn-default" form="commentInput","inputEmail",
- formaction="FormSubmission.asp">Submit</button>
- <!DOCTYPE html>
- <html>
- <body>
- <%
- dim from
- from = Request.Form("inputEmail")
- dim comment
- comment = Request.Form("commentInput")
- Set eMail=CreateObject("CDO.Message")
- eMail.Subject="Feedback"
- eMail.From=from
- eMail.To="MyEmail@mydomain.com"
- eMail.TextBody=comment
- eMail.Send
- set eMail=nothing
- Response.Write("Done")
- %>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement