<%@ Language=VBScript %> <% if not isempty(Request.Form("Send")) then set conn = server.createobject ("adodb.connection") conn.open "FreeDB_139064", "sa", "yourpassword" CurrentDateTime = Now conn.Execute "insert into FunPostcards (SendersName, SendersEmail, Message, " _ & "RecName, RecEmail, PostcardType, WhenSent) values (" _ & "'" & Request.Form("SendersName") & "', " _ & "'" & Request.Form("SendersEmail") & "', " _ & "'" & Request.Form("Message") & "', " _ & "'" & Request.Form("RecName") & "', " _ & "'" & Request.Form("RecEmail") & "', " _ & "'" & Request.Form("PostcardType") & "', " _ & "'" & CurrentDateTime & "')" set RSID = conn.Execute("select PostcardID from FunPostcards where " _ & "WhenSent = #" & CurrentDateTime & "#") EmailMessage = "You have been sent a postcard! To view it go to: " & chr(13) _ & "http://www.rgstore.com/free/postcards/index.asp?PostcardID=" _ & RSID("PostCardID") Set objMail = CreateObject("CDONTS.NewMail") objMail.Send "info@rgstore.com", Request.Form("RecEmail"), _ "New Postcard for You", cstr(EmailMessage) Set objMail = Nothing TheMessage = "Postcard sent. You can now send another." else TheMessage = "Use this page to send a postcard to someone you know. " _ & "They will receive an email letting them know that they have a postcard to view." end if %> Create Postcard

Create A Postcard

<% Response.Write TheMessage %>

First select your postcard:

The Duck Pond,
Seattle, Washington

The Path, Austin, Texas

The Creek,
Austin, Texas

Colorado Sunset,
Parker, Colorado

Gazelle - Who me?

The Lizard

Seagull Swarm

Bald Eagle

Bored Boar

Busy Wasp

A Rose by Any Other Name?

Pink Flower

Mini-Flowers

Reddish Purple Flower

Sole Yellow Flower

The Zinnia

Damp &
Uncomfortable

Golden Mug
Shot #1

Golden Eye 2

Swirling Fractals

 

Recipient’s Email Address

Recipient’s Name

Postcard Message

Note: Valid Characters are:
Text, Numbers and
. , : & ! @ # $ % ^ * ( ) - _ + = /

Your Email Address

Your Name