Jump to content

Recommended Posts

Posted

where would that file go if you were to put that on a page to actually submit an email to someone?..

 

the file is an asp form, with ...

 

<%

contactfield1=Request("field1")

contactfield2=Request("field2")

contactfield3=Request("field3")

contactfield4=Request("field4")

 

 

mbody = "field1 : "&contactfield1&" | field2 : "&contactfield2&" | field3 : "&contactfield3&" | field4 : "&contactfield4

 

'email object for cdonts

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

 

'Set pmail = Server.CreateObject("CDONTS.Newmail")

 

'change the email to your email address

'pmail.From = "admin@redlineriders.org"

'pmail.To = "admin@redlineriders.org"

 

'pmail.Subject = " Website Contact enquiry "

 

'pmail.Body = mbody

'pmail.MailFormat = 0 'mime type

'pmail.BodyFormat = 0 'default value 1 for plain text type

 

'pmail.Send

'Set pmail=Nothing

 

'new mail

'DIM Mailer

 

 

'email object for CDO Windows 2003

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Set objMessage = CreateObject("CDO.Message")

objMessage.Subject = "Website Contact Enquiry"

'change the email to your email address

objMessage.Sender = "admin@redlineriders.org"

objMessage.To = "admin@redlineriders.org"

objMessage.TextBody = mbody

objMessage.Send

set objMessage=Nothing

 

response.write("response=ok")

%>

 

 

I know, im a bit tossed up in the air on this one, but its only a form, that once someone hits submit its supposed to send out an email to the said addy...but the problem is I dont know where that file should go. the file is set up in an flash website, but it stumps me to where it goes.

Posted

So if this was to be converted into a php page, where would that file be placed?...

 

 

Talk about service with a smile.....Dang Don, that was super fast reply!

Posted

I think that won't work because behind .asp en .php are two different programming languages.

 

Normally you make a page where the content etc for the mail is entered. Than you call a page (such as your example but then suitable for linux) to process that information into the mail and sends it.

You can place that file anywhere within your site. As long as you use the correct URL to call the file from within your form.

 

I don't know much abt using forms within flashpages.

A good formscript you can get on this page.

You may also search Hotscripts page.

There are tons of programs there.......

Good luck

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...