Click to See Complete Forum and Search --> : [RESOLVED] modifing PHP in flash template


iwd4u
04-28-2007, 11:49 PM
Here is the script, this is for an all flash website and I want the contacct info sent to: leah@iwd4u.com - can anyone help me modify? And do I need to do something in the flash template as well?

for i=1 to 7
message=Request("message")
next
message=message + Request("message")
smtpServer = "http://iwd4u.com/mail.iwd4u.com"
smtpPort = 25


name = Request("Your_Name:")
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "from " & name
myMail.From = Request("Your_Email:")
myMail.To = Request("recipient")
myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
myMail.Configuration.Fields.Update
myMail.Send
:eek: :confused: