Dynadot โ€” .com Transfer

Script to enter name & email & then some...

SpaceshipSpaceship
Watch

Dave_Z

Electrifying GuyTop Member
Impact
394
hi everyone!

What HTML code do you input in a website to allow a person to enter his/her name & email, clicks submit, and sends the name & email to my mailing list email address like [email protected]?

I'll be asking followup questions as time goes by....

Thanks everyone!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Are you using PHP or ASP? Your mailing list - who is it managed by?
 
0
•••
Originally posted by Corey Bryant
Are you using PHP or ASP? Your mailing list - who is it managed by?

PHP. My mailing list manager is Mailman.

I'm not good at this, of course. So I'm trying to learn & figure out how to code my website that'll accomplish this.

In short, I need to be sadly spoon-fed.
 
0
•••
<form method="post" action="addscript.php">
Name: <input type="textbox" name="name">
Email: <input type="textbox" name="email">
<input type="submit" name="submit">
</form>

then addscript.php would be
would be the script name to add the user
 
0
•••
I'm not sure how the mailing list script works but adam_uk gave you the form to use. Except, your going to want to use:
Code:
<input type="text" name="name">
<input type="text" name="email">
Instead of textboxes.
 
0
•••
yeh sorry

dunno why i typed textboxes, i always use text as well oh well
 
0
•••
hi,

try this

PHP:
<?php

// $to = who the mail is going to
// $subject = this message subject
// $message = the mail message to send
// $from = who is sending this message (also = Reply-To)


function send($to, $subject, $message, $from, $file, $type) {

$header = "From: $from\r\n";
$header .= "Reply-To: $from\r\n";
$header .= "X-Priority: 3 (low)\r\n";
$header .= "X-Mailer: <Ya-Right Mail Server>\r\n";
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-Type: text/plain; charset=\"ISO-8859-1\"\r\n";
$header .= "Content-Transfer-Encoding: 8bit\r\n\r\n";


mail($to, $subject, "your body goes here", $header);

return true;
}


?>


Azizi
 
0
•••
thanks for your replies, everyone!

Ok, I think I'm making headway with this. First off, I need to know what HTML code or thingamajig I need to input in my site that'll do this:

After a person enters his/her name & email and clicks submit, my website should send the info to my mailing list email [email protected]. I analyzed my mailing list manager and I think it currently allows only opt-in via email.

I'll post as soon as I get more info on this.

Once my site is up, I'll post it for all of you to behold and tear apart!

Again, thanks everyone!
 
0
•••
Originally posted by davezan
thanks for your replies, everyone!

Ok, I think I'm making headway with this. First off, I need to know what HTML code or thingamajig I need to input in my site that'll do this:

After a person enters his/her name & email and clicks submit, my website should send the info to my mailing list email [email protected]. I analyzed my mailing list manager and I think it currently allows only opt-in via email.

I'll post as soon as I get more info on this.

Once my site is up, I'll post it for all of you to behold and tear apart!

Again, thanks everyone!

your mail script shoud be able to provide you with all of this already

if not, thats gonna take a bit of work, more that what can be explained via a forum if i understand you correctly
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back