# Simple asp qestion

**URL:** https://forum.kirupa.com/t/simple-asp-qestion/99784
**Category:** Uncategorized
**Created:** [January 22, 2004, 2:03am UTC](https://forum.kirupa.com/t/simple-asp-qestion/99784 "2004-01-22T02:03:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![markhegz](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@markhegz](https://forum.kirupa.com/u/markhegz)
#### Post date: [January 22, 2004, 2:03am UTC](https://forum.kirupa.com/t/simple-asp-qestion/99784/1 "2004-01-22T02:03:13Z")

</div>

Im not very familiar with asp/vb but im sure this is simple. i am using the following code in my asp and it works fine. i just need to add a subject line that displays “contact form”. can somebody help me out?

```php

<%@ Language=VBScript %>
<%
Response.Buffer = true

Dim myMail, mtextz, mtext01, mtext02, mtext03

mtext01 = "Email:" & Request.Form("email") & vbcrlf

mtextz = mtext01 & mtext02 & mtext03 

Set myMail = CreateObject("CDONTS.NewMail")

if request.Form("email") = "" then 
	myMail.From = "No name"
	else
	myMail.From = request.Form("email")
end if

myMail.To = "ME@mysite.com"
myMail.MailFormat = 1
myMail.Body = mtextz
myMail.Send
Set myMail = Nothing
Response.write "DynText=E-mail sent successfully"
%>

```
