Help Wanted

Need Help: Email Site – buddboy

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
I need just a little help on an email site i am working on... i set up a form for my site, but it doesn't work because the tutorial i used gave a way of doing it that was not supported by newer browsers... i need to kno if anybody knows how to set up a form that is as not complicated as possible... i am just working on the barebones of the site (index, registration, sign-in, etc.) anybody know anything?

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
hello? anyone know anything? even if you don't know how, can you post so i know who does and who doesn't so i don't have to wonder why there are no posts?

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

Lava
Member

Posts: 1905
From:
Registered: 01-26-2005
It takes time, not everybody is online...

------------------

crazyishone

Member

Posts: 1685
From:
Registered: 08-25-2004
start google-ing your brains out. "javascript forms" "javascript form tutorials" "javascript tutorials" "free javascript"

and u might want to give you posts more than an hour to get replies. this place is kinda slow. (and its a forum, not an IM service.) heh.

------------------
Instant Messengers are the scourge of productivity.

Jari

Member

Posts: 1471
From: Helsinki, Finland
Registered: 03-11-2005
Does your host support php or cgi?

Here's one tutorial:
http://www.thesitewizard.com/gettingstarted/nvu5.shtml

Here's another:
http://www.englib.cornell.edu/instruction/www/email-forms-class.html

And form tag reference (in case you need that too):
http://www.htmlhelp.com/reference/wilbur/block/form.html

I hope those help.

------------------
There are many devices in a man's heart; nevertheless the counsel of the LORD, that shall stand.
- Pro 19:21
Trust in the LORD with all thine heart; and lean not unto thine own understanding.
- Pro 3:5

[VoHW] (Help needed) [Blog] - Truedisciple (mp3)

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
well, thanks for the help. yes i did google my brains out. in the end i used a php script and it works fine. sorry about the impatience thing! yah, i know about the not online thing! i was just a little frustrated because everything i had tried wouldn't work, and in fact the solution i have now wasn't working at the time, but thanks everyone. now all i have to figure out is how to set up a client that will let the person type in the email and then send it to my friend's SMTP server... i have found a way to do it with CF (which i know none of) but it only has POP3 ability...
so now i need to know if anyone has any experience or knowledge in that area... hope i don't annoy anyone with my constant asking for help!

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
now all i have to figure out is how to set up a client that will let the person type in the email and then send it to my friend's SMTP server... i have found a way to do it with CF (which i know none of) but it only has POP3 ability...


CF = Cold Fusion?

If I am understanding you correctly, you can do this with php. I think you just want to create a form, which will allow a person to type in an email. Next you want it to be able to send the e=mail to your friend email. If I am understanding you, here is a solution.


<form action="sendmail.php" method="post">
<input type"text" name="email"><br>
<input type="Submit" name="sub" value="Send Email">
</form>

<!-- The following is sendmail.php -->
<?php
$email = $_POST['email'];
$friends_email = "YourFriends@HisEmail.com";
$msg = "Email That Was Sent: ".$email;

if(isset($email) && !empty($email)) {

mail($friends_email, "A Subject", $msg, "From: ourEmailName@YourDomain.com");
}
?>

Note, code has not been tested, but it should get you going. If you need any help, just let us know. God bless you and HELLO EVERYONE!

[This message has been edited by cwc (edited January 17, 2006).]

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
so, i make two different files? one, the html for the form, and two, sendmail.php, for the action? cool... i will see if i can find a more advanced one but i will use this one temporarily... also i need a way to make the emails sent to my users show up... perhaps if i find a php script for this it will also have one for the other thing.... googling!

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
well, i think i am gonna use a script called SquirrelMail. i can't get the one you gave me to work, but I found some other php scripts, and this one seems to be the best. i have to make sure it is exactly what i want... thanks for the help!

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!

cwc

Member

Posts: 121
From: USA
Registered: 07-30-2005
quote:
Originally posted by buddboy:
well, i think i am gonna use a script called SquirrelMail. i can't get the one you gave me to work, but I found some other php scripts, and this one seems to be the best. i have to make sure it is exactly what i want... thanks for the help!



SquirrelMail is a complete mail client, it allows you to send and receive mail. Is that what you were trying to do?? If it was, check out Horde. I like Horde personally. http://www.horde.org/ Good luck


[This message has been edited by cwc (edited January 17, 2006).]

buddboy

Member

Posts: 2220
From: New Albany, Indiana, U.S.
Registered: 10-08-2004
yah that would be it... i am running an email site... lol! i'll check out horde!

------------------
In the stock market, you must buy high and sell low...Wait! That's not right!
--------------
Yes, I can be intelligent at times!!