Jump to content

Sending Email From A Web Form


occasion

Recommended Posts

In asking this question, I really don't expect someone to give me a step by step answer. Instead I looking for a place I can begin to gain knowledge on the 'how to do it'.

 

I would like an email to be sent to an address after the form has been completed and the submit button clicked. Very similar to submitting a ticket at the help desk.

 

How do I begin this process?

 

Any good sites which could help give me direction?

 

Thanks for your assistance.

 

Ron

Link to comment
Share on other sites

When I try to use dodosmail I get "page not found" while looking for *****/dodosmail.php

 

I can go to cPanel and see the file listed. When I click on the file it shows it's name is *****/dodosmail.php

 

In a post on Dec 5, Don said the following

 

"First in the file test.html

remove the line

<input type="hidden" name="your_email_address" value="you@******">

do not add your address to the form

 

be sure you uploaded dodsmail.php

with the second line edited to your adddress

and removed the two # in front of it.

 

 

The file dosmail.php is not in the same place as the test.html file

so the form wil not work.

once you edit dosmail.php and upload it goto test.html

and fill out the form and it should work. "

 

Now this I did. Any suggestions

 

Thanks,

Ron

Link to comment
Share on other sites

When I try to use dodosmail I get "page not found" while looking for *****/dodosmail.php

 

I can go to cPanel and see the file listed.   When I click on the file it shows it's name is *****/dodosmail.php

 

You cannot open dodosmail.php with a browser. It is the form handler script.

 

In a post on Dec 5, Don said the following

 

"First in the file test.html

remove the line

do not add your address to the form

 

be sure you uploaded dodsmail.php

with the second line edited to your adddress

and removed the two # in front of it.

 

 

The file dosmail.php is not in the same place as the test.html file

so the form wil not work.

once you edit dosmail.php and upload it goto test.html

and fill out the form and it should work. "

 

Now this I did.  Any suggestions

 

Thanks,

Ron

 

If you did not put the dodsmail.php script in the same folder with the test.html file you need to modify the test.html file to point to the location of the script.

 

Every form requires an "action" to be processed. I have not used dodosmail but your form should look something like this.

 

Edited by TCH-Bruce
Link to comment
Share on other sites

Yep, put the test.html in the same folder as dodsmail.php

and run it to make sure the form processor is working.

 

Then you might start by modifying the test form to your own needs,

and then copy the code for test.html and put it into your own page

modifying the action part to lead to the path/dodsmail.php file.

Link to comment
Share on other sites

  • 5 months later...

I've used UFM in the past and it's been great. The email does tend to end up in my Junk/Spam box much of the time. Anyway.

 

A question about Dodo's Mail: sent time.

 

I have Dodo's Mail script up and running and it's great except for one thing: the email sent doesn't have a date or time so it goes to the bottom of my inbox. I see the code in dodosmail.php is as follows:

 

>$headers .= "Date: ".date(R)."\r\n";

 

Anything I can do to this code to make it work? Thanks.

 

- Bradley

Link to comment
Share on other sites

Join the conversation

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

Guest
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...