<%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location","http://www.ommama.com/" %>  <% if(trim(request("submit1")))<>"" then Const Filename = "friendemail.html" ' file to read Const ForReading = 1, ForWriting = 2, ForAppending = 3 Const TristateUseDefault = -2, TristateTrue = -1, TristateFalse = 0 ' Create a filesystem object Dim FSO Dim Line set FSO = server.createObject("Scripting.FileSystemObject") ' Map the logical path to the physical system path Dim Filepath Filepath = Server.MapPath(Filename) if FSO.FileExists(Filepath) Then ' Get a handle to the file Dim file set file = FSO.GetFile(Filepath) ' Get some info about the file Dim FileSize FileSize = file.Size 'Response.Write "

File: " & Filename & " (size " & FileSize & " bytes)


" 'Response.Write "
"
		' Open the file
		Dim TextStream
		Set TextStream = file.OpenAsTextStream(ForReading, TristateUseDefault)
		' Read the file line by line
		Do While Not TextStream.AtEndOfStream
			'Dim Line
			Line = TextStream.readline
			' Do something with "Line"
			LineFull = LineFull & Line & vbCRLF
			'
		Loop
		Line1=Line
		'Response.Write "

" Set TextStream = nothing Else Response.Write "

File " & Filename &_ " does not exist

" End If Set FSO = nothing For i = 1 to 5 fname=trim(request("txtFname"&i)) femail=trim(request("txtFemail"&i)) name=trim(request("txtName")) pmsg=trim(request("txtMsg")) pmsg=replace(pmsg,vbcrlf,"
") 'Msg="

 

Dear "& fname&",

Your friend "& name &" thinks you should check out OmMama! If you are a new OmMama student, you're invited to take one complimentary Prenatal or Postnatal Yoga class, or receive a 10% discount off any of our Series Classes or Workshops.

Print out and bring in this email to receive your complimentary class or discount or mention it when you call to register. We look forward to seeing you soon!

Here's a message from "& name &":

"&replace(pmsg,vbcrlf,"
")&"

Our Programs:

  • Prenatal and Postnatal Yoga Classes
  • Evidence-based Childbirth Education Classes*
  • Labor Prep Workshops*
  • Itsy Bitsy? Yoga for Babies, Tots, and Tykes*
  • Mom & Baby Support Groups*
  • Healthy Mamas Walk/Run Training Teams*

* Pre-registration is required for these classes.

What People Are Saying About OmMama:

I made going to yoga a priority during my pregnancy and it was definitely worth it. It helped me relax for a while every week and hear from other moms-to-be. The stamina and breathing techniques I learned were very helpful during labor too. I would recommend it to every pregnant woman.

- Margaret C

I loved it, wish I could have kept going! I looked forward to Thursday every week. The friendships my children and I have made in the classes I took with my daughter (who is now two) and my son (six months) are priceless.

- Tara C

I would recommend the "Expecting the Best" class for any couple who wishes to be empowered with knowledge. This class gives you insight into the process of childbirth on so many levels. . . As an expecting father I would recommend this class to all fathers. It is one of the few times that you feel you can actually help your partner through this incredible journey.

- C. Rector

Find Us:

Located in the historic Lewis Ginter Recreation Association Building at 3421 Hawthorne Avenue, Richmond, VA 23222. (map)

For more information, to see our class schedule, or to join our email list, visit www.OmMama.com or call 804-612-6366.

To send this offer to your friends, click here.

Please note: you have not been added to our mailing list because of this email. Your email address has only been used for this invitation by the request of your friend.

" Msg=replace(LineFull,"{name}",fname) Msg=replace(Msg,"{referrer's name}",name) Msg=replace(Msg,"{referrer's message}",pmsg) Msg=replace(Msg,"class=""style1""","style=""font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px;""") Msg=replace(Msg,"class=""style2""","style=""font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold;""") Msg=replace(Msg,"class=""style3""","style=""font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: italic;""") if(femail<>"") then 'Response.Write Msg &"



" Set objMessage = server.CreateObject("CDO.Message") objMessage.Subject = "A Message from "& trim(request("txtName")) &" about OmMama" objMessage.From = trim(request("txtName")) &"" objMessage.To = femail objMessage.HTMLBody=Msg objMessage.Send() 'response.Write "Mail Sent" Set objMessage = nothing end if Next response.Redirect "friend_thankyou.asp" response.End() end if %> Send a friend a free class - OmMama resource for prenatal and postnatal yoga classes, teacher training

Send a Free Class to a Friend!

Send a free Prenatal, Postnatal, or Hatha Yoga class to a friend (or a $15 credit toward any of our Itsy Bitsy Yoga or childbirth education classes)!

Send this offer to as many friends as you wish (only one free class or discount per person).

Already an OmMama student?  Take advantage of our referral program and receive a $5 credit for every new-to-us friend who registers. Send us 5 new referrals in the month of March and we'll throw in a $15 gift card to your favorite local coffee shop.

Offer good through March 31, 2010. Free class offer applies to first time students only. Other exclusions or limitations may apply.

Step 1: Enter Your Information

Your name:

Enter a personal message to your friends:*

Step 2: Enter Your Friends' Information

  Friend's Name Friend's Email Address
1.
2.
3.
4.
5.

Step 3:

 

I would recommend the "Expecting the Best" class for any couple who wishes to be empowered with knowledge. This class gives you insight into the process of child birth on so many levels. Maura and Leslie are able to help couples explore the known and unknown issues of childbirth as well as any misconceptions about the process. As an expecting father I would recommend this class to all fathers. It is one of the few times that you feel you can actually help your partner through this incredible journey.

— C. Rector

more testimonials. . .