<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<%
Dim objMail
Dim MyCDONTSMail13
Set objMail = Server.CreateObject("CDONTS.NewMail"

'MyCDONTSMail3.AttachFile Server.MapPath("/logo12.jpg"
'objMail.AttachURL "E:\internalaudit\images\pencil.gif", "myImage2.gif"
HTML = HTML & "<HTML>"
HTML = HTML & "<HEAD>"
HTML = HTML & "<TITLE>Vanilla Pod Gigs</TITLE>"
HTML = HTML & "</HEAD>"
HTML = HTML & "<BODY bgcolor=""#000000"">"
HTML = HTML & "<font face=""Arial, Helvetica, sans-serif"">"
'HTML = HTML & "<A HREF=""
'HTML = HTML & "<IMG SRC=""myImage.jpg""></A><BR><BR>"
HTML = HTML & "<FONT color=""White"" SIZE=""5"">"
HTML = HTML & "Vanilla Pod Gigs Mailing List</FONT>"
HTML = HTML & "</FONT>"
HTML = HTML & "<FONT color=""Red"" SIZE=""3"">"
HTML = HTML & " (Please do not reply to this email!)</FONT>"
HTML = HTML & "</FONT>"
HTML = HTML & "<Font Color=""White"">"
HTML = HTML & "<p>"
HTML = HTML & "<FONT color=""White"" SIZE=""3"" face=""Arial, Helvetica, sans-serif"">"
HTML = HTML & "New gigs has been posted on the Vanilla Pod website see below for details:</FONT>"
HTML = HTML & "</p>"
HTML = HTML & "<p>"%>
<%
Dim Repeat2__numRows
Repeat2__numRows = -1
Dim Repeat2__index
Repeat2__index = 0
Recordset2_numRows = Recordset2_numRows + Repeat2__numRows
%>
<%
While ((Repeat2__numRows <> 0) AND (NOT Recordset2.EOF))
HTML = HTML & "<font face=""Arial, Helvetica, sans-serif"">"
HTML = HTML & "<Font Color=""Grey"">"
HTML = HTML & "Date: "
HTML = HTML & "</Font"
HTML = HTML & "<Font Color=""White"">"
HTML = HTML & (Recordset2.Fields.Item("One"

.Value)
HTML = HTML & "</Font"
HTML = HTML & "<Font Color=""grey"">"
HTML = HTML & " - Venue: "
HTML = HTML & "</Font"
HTML = HTML & "<Font Color=""White"">"
HTML = HTML & (Recordset2.Fields.Item("Venue"

.Value)
HTML = HTML & "</Font"
HTML = HTML & "<Font Color=""grey"">"
HTML = HTML & " - Other Bands: "
HTML = HTML & "</Font"
HTML = HTML & "<Font Color=""white"">"
HTML = HTML & (Recordset2.Fields.Item("Bands"

.Value)
HTML = HTML & "</Font"
HTML = HTML & "<hr>"
HTML = HTML & "</Font>"
HTML = HTML & "<p>"
HTML = HTML & "</p>"
Repeat2__index=Repeat2__index+1
Repeat2__numRows=Repeat2__numRows-1
Recordset2.MoveNext()
Wend
HTML = HTML & "<Font Size=""-1"" color""#CCCCCC"">"
HTML = HTML & "visit "
HTML = HTML & "<a href=""Biog.htm"">
</a>"
HTML = HTML & " for the news, pitures, mp3s and other stuff info. If you did not ask to be on this list or want to be removed, please email "
HTML = HTML & "<a href=""mailto:MailingList@vanillapod.org""> mailinglist@vanillapod.org </a>"
HTML = HTML & " with Remove in the subject (or you can reply to this email with 'remove' in the subject)."
HTML = HTML & "</Font>"
HTML = HTML & "<p>"
HTML = HTML & "</p>"
HTML = HTML & "</Font>"
HTML = HTML & "</Font>"
HTML = HTML & "</Font>"
HTML = HTML & "</BODY>"
HTML = HTML & "</HTML>"
objMail.From = "Vanilla Pod"
objMail.Subject = "New gig posted..."
'you need TO add these lines FOR the mail
'to be sent in HTML format
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.To = (Recordset1.Fields.Item("Email"

.Value)
objMail.Value("Reply-To"

= "mailinglist@vanillapod.org"
objMail.Body = HTML
objMail.Send
Response.write("An Email Has Been Sent To "
Response.write(Recordset1.Fields.Item("Email"

.Value)
Response.write("<p></p>"

set objMail = nothing
htmlBody = ""
%>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>