English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I know html, a little, i want to make a Newsletter Subscription form where someone has to put in their email and then the email address is sent to my email. If anyone can help that would be great!

2006-07-13 05:50:21 · 7 answers · asked by Anonymous in Computers & Internet Programming & Design

Is there any way i can do this without bringing up their email program?

2006-07-13 05:54:11 · update #1

7 answers

you will need to a back end system of some sort.

PHP the function will be:

if(!empty($_POST)){
$userEmail = $_POST['email'];
$to = "myemail@mydomain.com";
$body = "$userEmail has requested to be added to my list";
$subject = "Newsletter Subscription";
mail($to,$subject,$body);
}
?>









2006-07-13 07:01:26 · answer #1 · answered by John J 6 · 0 0

You could use this little PHP script:

HTML Form:


Your e-mail:




Insert this into "nextstep.php"


$email=$_POST['email'];
$to = "(insert your e-mail address here)";
$title = "Subscription request"

mail($to, $title, $email);

?>


A php page is html with tags like the above one here and there. Configue nextstep.php as you normally would, but put the above php script in it. It will mail to you the e-mail address with the subject "Subscription request"


...Unless your server doesn't allow PHP...

2006-07-13 06:09:10 · answer #2 · answered by Jake 2 · 0 0

You have to bring up their email program unless you have a server that you can receive the contents of a Submit button.

2006-07-13 05:56:31 · answer #3 · answered by RDHamm 4 · 0 0

that's going to look some thing like this: "index.Hypertext Preprocessor" html body container a million: container 2: body html when you've this kind created... open up the web page that the shape is meant to direct to. form the following: "nameofdocument.Hypertext Preprocessor" html body br br body html Now inspite of you submitted into container a million will educate up on the web page once you employ the code: echo $_POST [ ' text1' ] ; and inspite of you submitted into container 2 in the shape will educate up on the web page even as making use of the code: echo $_POST [ ' text2' }; optimistically this permits you. :)

2016-11-01 23:59:33 · answer #4 · answered by Anonymous · 0 0

Almost every web host provides instructions you need to do exactly this by using code they have already written. I suggest looking for and using that first because the is some validation you need to perform to do this securely.

If you want to do it yourself, you'll need to tell us what web app platform you are using - PHP, ASP 3, ASP.NET, CF, PERL/CGI??? If you Google, you can find code to do this in every web app language.

2006-07-13 05:55:29 · answer #5 · answered by Anonymous · 0 0

You can add a link that will perform a "mailto:xxxx@yahoo.com" and this will bring up the user's default mail system and they can log into their mail system and send you an email.

2006-07-13 05:53:19 · answer #6 · answered by Grasshopper 4 · 0 0

no

2006-07-13 05:51:40 · answer #7 · answered by Mz.Thang 3 · 0 0

fedest.com, questions and answers