%
Set conn = Server.CreateObject("ADODB.Connection")
conn.ConnectionString = "DRIVER=SQL Server;server=64.106.150.189;uid=brsql;pwd=sql2tdst;database=seitz;"
conn.Open
if query("logout") = "true" then
session("client") = ""
session("product") = ""
end if
function sendWelcome(fname,email,username,password)
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.ContentType = "text/html"
Mailer.FromName = "seitz.com"
Mailer.FromAddress= "info@fathom.net"
Mailer.RemoteHost = "mail.room960.com"
Mailer.AddRecipient email,email
Mailer.Subject = "Welcome to Quick Gears"
Set rsContacts = Conn.Execute("Select * from contacts")
tname = rsContacts("firstname") & " " & rsContacts("lastname")
tinfo = rsContacts("Firstname") & " " & rsContacts("lastname") & "
E-mail: " & rsContacts("email") & "
"
if rsContacts("phone") <> "" then
tinfo = tinfo & "Phone: " & rsContacts("phone") & "
"
end if
if rsContacts("fax") <> "" then
tinfo = tinfo & "Fax: " & rsContacts("fax") & "
"
end if
rsContacts.movenext
if not rsContacts.eof then
tname = tname & " or " & rsContacts("firstname") & " " & rsContacts("lastname")
tinfo = "
| " & tinfo & " | " & rsContacts("Firstname") & " " & rsContacts("lastname") & " E-mail: " & rsContacts("email") & " " if rsContacts("phone") <> "" then tinfo = tinfo & "Phone: " & rsContacts("phone") & " " end if if rsContacts("fax") <> "" then tinfo = tinfo & "Fax: " & rsContacts("fax") & " " end if tinfo = tinfo & " |
|
![]() ![]() ![]()
|
| Seitz Corporation 212 Industrial Lane Torrington, CT 06790 1. 800.261.2011 info@seitzcorp.com | |