954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

form to get e-mail and name --- for newsletter

Hello!

I was thinking about starting to collect peoples adresses for my newsletter.
To do this I thought about making a pop-under window asking them to subscribe by entering their name and e-mail adress.

How do I do this?

I know how to make a pop-under window, but I'm not sure about the form part (name, adress, submit-button)

Thanks,
Daniel

beeman81
Newbie Poster
19 posts since Jun 2003
Reputation Points: 31
Solved Threads: 0
 

To do this, you need a backend script which will send the mail via sendmail (linux) or smtp (windows). The script can be written in php, perl, etc etc.

There are a bunch of free scripts on the Internet you could download provided they're available for your server platform. There are also remotely hosted ones. Just do a google search.

Once you find one, it's just a matter of inserting the proper HTML code into your site

<form action="script.php" method="post">
     <input type="text" name="username">
     <input type="text" name="email">
     <input type="submit" value="Join!">
</form>
cscgal
The Queen of DaniWeb
Administrator
19,436 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
 

Have you had success with getting email addresses this way?

I'm still trying to find out the best way to get new newsletter enrollees. It's harder than I thought it'd be!

nacho45
Newbie Poster
15 posts since May 2004
Reputation Points: 8
Solved Threads: 0
 

This forum is meant for discussing technical aspects of web development. Nacho, please direct inquiries of this kind to our Website Promotion forum. There, you can chat about the best ways to draw leads, encourage signups, etc. Thanks.

cscgal
The Queen of DaniWeb
Administrator
19,436 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
 

Daniel,

If you create a feed you can send it to multiple emails with feedblitz. Make your newsletter in blog format.

XZ
Famous Quotes

chalimac
Newbie Poster
13 posts since Nov 2005
Reputation Points: 11
Solved Threads: 0
 

Please don't resurrect 1.5 year old threads!

tgreer
Made Her Cry
Team Colleague
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
 

Sorry, the post showed up in a search and didn't notice the date.
Anyway the solution offered is a good counsel for setting up newsletters and feedblitz is quite recent. Apologies for that.

chalimac
Newbie Poster
13 posts since Nov 2005
Reputation Points: 11
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You