Website Help (Again)... Forms

Hi Guys

Trying to add a form (email contact) to my website, but when i test it, it goes into Outlook. I was under the impression that the from would send the mail direct to the address setup!?

43 Comments

I am almost certain it uses your default email client

Banned

It does with the correct script!

I dont trust the form I use, so cant help you there ATM.

But yes, the "email" is sent from the website to the email address of your chosing. (Presumably your own!)

Managed to find this site and create a form, download the HTML and paste into one of my sites.

emailmeform.com/?pa…ome

Original Poster

guv;2780862

It does with the correct script!I dont trust the form I use, so cant help … It does with the correct script!I dont trust the form I use, so cant help you there ATM.But yes, the "email" is sent from the website to the email address of your chosing. (Presumably your own!)


But thats where is goes wrong...

By using the form, it opens my email client and then I have to click send?

I thought the whole idea of using a email form on a website is so that you dont have to use an email client like Outlook

Banned

Disco;2781578

But thats where is goes wrong...By using the form, it opens my email … But thats where is goes wrong...By using the form, it opens my email client and then I have to click send?I thought the whole idea of using a email form on a website is so that you dont have to use an email client like Outlook



That IS what I am describing. Outlook doesnt come into it. The form is on the site. The email is sent direct from the site using php scripts.

pm me ya code that ya using & i will modify so it goes to ya email ;-)

Banned

faevilangel;2781622

pm me ya code that ya using & i will modify so it goes to ya email ;-)



Better still, if you have working scripts, can you just PM them? (Or email)

The one I am using on the school site, appears to work randomly. Quite often, I get an email with no content (and probably an angry individual on the other end that thinks Im ignoring them!)

The one on the charity site, seems to be fine.

But they are both the same!!!!!! Both servers are located in the UK also!


In fact, try out the one on the school site to "webmaster" and see if it works for you!


Edit..... In fact the script is hosted in the US with dreamhost so not UK hosted.

]Heres the form.

I just tried it myself.... and the email arrived fine. Really dont understand why I keep getting blank emails!

guv;2781666

Better still, if you have working scripts, can you just PM them? (Or … Better still, if you have working scripts, can you just PM them? (Or email) The one I am using on the school site, appears to work randomly. Quite often, I get an email with no content (and probably an angry individual on the other end that thinks Im ignoring them!)The one on the charity site, seems to be fine.But they are both the same!!!!!! Both servers are located in the UK also!In fact, try out the one on the school site to "webmaster" and see if it works for you!Edit..... In fact the script is hosted in the US with dreamhost so not UK hosted.]Heres the form.I just tried it myself.... and the email arrived fine. Really dont understand why I keep getting blank emails!


does both servers have sendmail activated to use it ? you need php sendmail activated or fsockopen to use it :thumbsup:

it might be a problem with the mail server ?

Banned

faevilangel;2781713

does both servers have sendmail activated to use it ? you need php … does both servers have sendmail activated to use it ? you need php sendmail activated or fsockopen to use it :thumbsup:



Yeh, otherwise it would never work at any time.

I can only think its being abused in some way (or attempted to be abused)

Got no idea why I end up with a [email protected] email address emailing me with no content. It dont even record the IP, which successful emails received always show.

Banned

On an aside. You use dreamweaver dont you?

Have you ever exported a site from one copy of dreamweaver to another on a different machine? Is it always successful and easy to do? I need to hand over a site to someone and Im a bit worried it may go pear shaped! Its template driven, so it really needs to be 100%!

guv;2781740

Yeh, otherwise it would never work at any time.I can only think its being … Yeh, otherwise it would never work at any time.I can only think its being abused in some way (or attempted to be abused)Got no idea why I end up with a [email protected] email address emailing me with no content. It dont even record the IP, which successful emails received always show.



that email could be the mail server default email ?

guv;2781760

On an aside. You use dreamweaver dont you?Have you ever exported a site … On an aside. You use dreamweaver dont you?Have you ever exported a site from one copy of dreamweaver to another on a different machine? Is it always successful and easy to do? I need to hand over a site to someone and Im a bit worried it may go pear shaped! Its template driven, so it really needs to be 100%!



nope i don't ....... expensive peice of carp i use notepad lol

you should be able to export and import from one machine to another as long as they have the same version as you

Original Poster

guv;2781760

On an aside. You use dreamweaver dont you?Have you ever exported a site … On an aside. You use dreamweaver dont you?Have you ever exported a site from one copy of dreamweaver to another on a different machine? Is it always successful and easy to do? I need to hand over a site to someone and Im a bit worried it may go pear shaped! Its template driven, so it really needs to be 100%!




im currently using Front Page and a package called Web Page Maker (i know, i know!) :oops: I can use DW if needed like? I dont use code/php etc etc blah to all that!! lol

Banned

faevilangel;2781775

that email could be the mail server default email ?



No, its actually part of the script.

Its on another machine otherwise I'd just copy and paste the code.

guv;2781810

No, its actually part of the script. Its on another machine otherwise I'd … No, its actually part of the script. Its on another machine otherwise I'd just copy and paste the code.



ah what might be the cause is that you specified in the script, that all emails to be sent from the script should be with email adres blah [email protected]

to change that in php just call the email address the userr specifies & use that as the email sender

Banned

faevilangel;2781787

nope i don't ....... expensive peice of carp i use notepad lol



It might be carp to you, but it wasn't expensive!:p

I could never remember all the tags and whilst its a lazymans tool, I've never claimed not to be lazy! Besides, how would you make sitewide changes (outside of CSS) that you want to be applied to each and every page? That site has about 1000 pages! I wouldnt fancy doing that by hand!

you should be able to export and import from one machine to another as … you should be able to export and import from one machine to another as long as they have the same version as you



Yeh, there is an import export facility. Just never used it - hence why I asked!

guv;2781840

It might be carp to you, but it wasn't expensive!:pI could never remember … It might be carp to you, but it wasn't expensive!:pI could never remember all the tags and whilst its a lazymans tool, I've never claimed not to be lazy! Besides, how would you make sitewide changes (outside of CSS) that you want to be applied to each and every page? That site has about 1000 pages! I wouldnt fancy doing that by hand!



use css & change it in seconds and no need for carp software which makes ya code a pain to read :roll:

btw i got the oscommerce site up for the gentleman @ mytestpages.co.uk/osc…c2a

but the server is down :x

Banned

faevilangel;2781833

ah what might be the cause is that you specified in the script, that all … ah what might be the cause is that you specified in the script, that all emails to be sent from the script should be with email adres blah [email protected] change that in php just call the email address the userr specifies & use that as the email sender



Hmmm. OK. Thats weird! That address is specified in part of the script it says is non editable.

I'll power up the other machine and paste..... I think its in 3 parts from memory.

Banned

faevilangel;2781854

use css & change it in seconds and no need for carp software which … use css & change it in seconds and no need for carp software which makes ya code a pain to read :roll:



Heh, I said outside CSS!:p

Eg your menu structure is adding a further item. Yes I know its possible to use CSS for the menu..... but it doesnt cover everything.

guv;2781861

Heh, I said outside CSS!:pEg your menu structure is adding a further … Heh, I said outside CSS!:pEg your menu structure is adding a further item. Yes I know its possible to use CSS for the menu..... but it doesnt cover everything.



css covers 90% the other 10% can be achieved with javascript & html

Banned

faevilangel;2781922

css covers 90% the other 10% can be achieved with javascript & html



Gotcha. I'm adding an extra js file which needs to be added to each page of html.

Original Poster

erm excuse me -- this is MY thread asking help, or have you forgotten :whistling:

Banned

Disco;2781986

erm excuse me -- this is MY thread asking help, or have you forgotten … erm excuse me -- this is MY thread asking help, or have you forgotten :whistling:



So you dont want a working form then?

PM sent to faevilangel with php code.

BTW - it didnt have the [email protected] email address included, so it does like like its server side its come from.

Banned

christuttiett;2781170

Managed to find this site and create a form, download the HTML and paste … Managed to find this site and create a form, download the HTML and paste into one of my sites.http://www.emailmeform.com/?page=cphome



That looks good on paper, until you actually use it. I have!

For some reason, it fails to send the majority of formed emails and classifies them as spam. I used it on a site [url]www.geteven.biz[/url] (its probably still there) and it probably only delivered about 50 mails out of about 300.

It does record the attempted mail, but you cannot access the "spammed" email and therefore it becomes lost.

guv;2781946

Gotcha. I'm adding an extra js file which needs to be added to each page … Gotcha. I'm adding an extra js file which needs to be added to each page of html.



SCRIPT language="JavaScript" SRC="myfile.js">

put in tags

Banned

faevilangel;2782107

SCRIPT language="JavaScript" SRC="myfile.js">put in tags



On each html page, which may be thousands!

BTW did you get the php scripts I PMd?

guv;2782060

So you dont want a working form then?PM sent to faevilangel with php … So you dont want a working form then?PM sent to faevilangel with php code.BTW - it didnt have the [email protected] email address included, so it does like like its server side its come from.



yeah its gotta be the mail server that handles it, what i can tell, the script works fine, its gotta be the mail server thats not sending the emails properly & inserting the email address

guv;2782140

On each html page, which may be thousands!BTW did you get the php scripts … On each html page, which may be thousands!BTW did you get the php scripts I PMd?



yup......

but do what i do & make a page called template with the layout javascript files & css files loaded then when you create a new page load up the template & insert the content.

that methid saves me hours of typing & my pages are all identical ;-)

Banned

faevilangel;2782143

yeah its gotta be the mail server that handles it, what i can tell, the … yeah its gotta be the mail server that handles it, what i can tell, the script works fine, its gotta be the mail server thats not sending the emails properly & inserting the email address



OK ta. Bloody dreamhost!!!!

"Disco" PM me the email addres you want to send your form to and I'll try to edit so you can use this form.

Banned

faevilangel;2782160

yup...... but do what i do & make a page called template with the layout … yup...... but do what i do & make a page called template with the layout javascript files & css files loaded then when you create a new page load up the template & insert the content.that methid saves me hours of typing & my pages are all identical ;-)



I think youve missed the point!

You are using your template to create a new page (just as you would in dreamweaver), but your client now wants to to add something ie a new js file, which they want on all new pages as well as the old ones. With dreamweaver that would be a simple one click operation. Unless Ive missunderstood what you mean here, you'd have to edit every html file to add this additional line?

guv;2782211

I think youve missed the point!You are using your template to create a … I think youve missed the point!You are using your template to create a new page (just as you would in dreamweaver), but your client now wants to to add something ie a new js file, which they want on all new pages as well as the old ones. With dreamweaver that would be a simple one click operation. Unless Ive missunderstood what you mean here, you'd have to edit every html file to add this additional line?



but dreamweaver messes up the code, the idea of writing the code ya self, is that its your code & will be w3 compliant

Banned

faevilangel;2782252

but dreamweaver messes up the code, the idea of writing the code ya self, … but dreamweaver messes up the code, the idea of writing the code ya self, is that its your code & will be w3 compliant



Pah, humbug.

Disco.... rather than sending me PMs.... please ask in this thread! (My mailbox is always too full!)

Original Poster

guv;2782334

Pah, humbug.Disco.... rather than sending me PMs.... please ask in this … Pah, humbug.Disco.... rather than sending me PMs.... please ask in this thread! (My mailbox is always too full!)



tell you what.. how about you do this for, and email me the files...

however, you'll end to tell me where they need to go :whistling:

Banned

Disco;2782350

tell you what.. how about you do this for, and email me the … tell you what.. how about you do this for, and email me the files...however, you'll end to tell me where they need to go :whistling:



Jesus! All you need to do is copy and paste like Ive said! It really isnt rocket science!

The code I have sent is all you need.

The htm file is your form file - you need to point the link to this fiile. All the other files need to be in the same folder. The only part you will need to edit now, is to put your own logo in (Since you wont want the schools one, I didnt send it.)

Just cut and paste everything into notepad if you like (and name them as I said) . It doesnt matter what you use. Just dont miss out any of the code!

Original Poster

please!!!? :whistling:


give you rep!

Disco;2782386

please!!!? :whistling:give you rep!



put the html form into a file ending in .html
put the other code in a file ending .php

:whistling:

Original Poster

uve both lost me now ....

Banned

What is the problem? You do know how to cut an paste dont you?

Just copy the lines of code in each PM and create a file named as instructed in each PM. Thats it.

Then upload the files to whatever directory you want to use and create a link on your site to foldername/phmailer.htm

You now have a working form. As said, the only thing you need to do is add an image called logo.

You dont need to understand the code, just copy it!

Disco;2782405

uve both lost me now ....:(



and u wanted to build a website for someone :whistling:

i could do it for you but im busy

Banned

Disco;2782405

uve both lost me now ....:(




Hmmm I think your career in proffessional web design will be very short lived!!!
Post a comment
Avatar
@
    Text
    Top Discussions
    1. Sad news about Barcelona1972
    2. ❅☁☁❅ I want☼to talk☼about the☔WEATHER☔no politics☃no religion❅☁☁❅18846124
    3. How much would you pay for this chair?1113
    4. I banned myself from HUKD for 3m, I saved so much money!2540

    See more discussions