Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Creating mailing list
Old 09-23-2010, 03:43 AM Creating mailing list
Junior Talker

Posts: 3
Name: Haris
Trades: 0
Intro:
Hello all. I just signed up here because in past I found some very useful information regarding web designing and developing. Since I am new, very new actually :P in this coding world so I really need your help....

Problem:
I have a website, I want to place a short form, which should be a regular newsletter subscription form with field: Name and E-mail address. ( I don't know much about .php).

What I want to get is when user fills the 2 field and submit it, he gets a confirmation message in his inbox in which he has to click on activation link then I want him to get automatic 5 emails for next five days. I am offering a free course on my website and that's why someone will subscribe with it.
It says like " Get 5 easy tips to become a web designer or Urdu speaker or whatever." So I want him to get those 5 tips one by one everyday automatically. And in future if I send any promotional newsletter or news related to my website, so he should also get that as my website subscriber.

I am not willing to use any 3rd party service like those companies which manage your mailing list and all that. No matter how hard it is, I will go with the coding thing and want to do it on my own. (If it's possible)


I hope you guys have understood having read this elaborated post :S

Waiting for your reply

PLease reply soon because I have reasonable visitors on my website and I am losing many potential buyers...

Last edited by harris8777; 09-23-2010 at 03:46 AM..
harris8777 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-24-2010, 05:23 PM Re: Creating mailing list
Junior Talker

Posts: 3
Name: Haris
Trades: 0
No replies yet?
harris8777 is offline
Reply With Quote
View Public Profile
 
Old 09-25-2010, 11:00 PM Re: Creating mailing list
Skilled Talker

Posts: 56
Trades: 0
I don't know if this would completely solve your problem but this is a pretty good example.
http://www.phptutorial.info/scripts/mailinglist/
also heres php emailing from w3 schools. w3 schools is a great site to start learning any markup language its where i started learning php a few months ago and now my site is almost fully automated via php. heres the link for a simpler email example on w3 schools: http://w3schools.com/php/php_mail.asp
that should at least get you started.
also heres something i built off of the w3 schools example.
PHP Code:
<?php
if (isset($_REQUEST['email']))
//if "email" is filled out, send email
  
{
  
//send email
  
$email $_REQUEST['email'] ; 
  
$subject $_REQUEST['subject'] ;
  
$message $_REQUEST['message'] ;
  
$from $_REQUEST['from'] ;
  
$name $_REQUEST['name'] ;
  
mail"$email""$subject",
  
$message"From: $name <$from>");
  echo 
"Sent!";
  }
else
//if "email" is not filled out, display the form
//yes i know the methods i use for closing the tags are depreciated but i wrote this years ago
  
{
  echo 
"<form method='post' action=bulk.php>
  To: <input name='email' type='text' />Ex. emailToSendTo@porvider.com<br />
  From: <input name='from' type='text'/>Ex. yourEmail@porvider.com<br />
  Sender Name: <input name='name' type='text' />Ex. Jon Appleseed<br />
  Subject: <input name='subject' type='text' /><br />
  Message:<br />
  <textarea name='message' rows='15' cols='40'>
  </textarea><br />
  <input type='submit' value='Send'/>
  </form>"
;
  }
?>
and heres the link http://fgpcinc.netfirms.com/bulk.php
Its pretty amazing how we think everything is so secure but the thing is that anyone can send anything from anyones email address. It will look like its from them at first glance but if you look into where it was sent from and headers and stuff you will see its from php. still pretty cool tho.
__________________

Please login or register to view this content. Registration is FREE
Free Online Games

Last edited by pcmaster160; 09-25-2010 at 11:01 PM..
pcmaster160 is offline
Reply With Quote
View Public Profile Visit pcmaster160's homepage!
 
Old 09-26-2010, 06:21 AM Re: Creating mailing list
Junior Talker

Posts: 3
Name: Haris
Trades: 0
Thanks for replying... But I emphasized on creating a script which can send a sequence of emails for next 5 days whenever a user signs up, it should be automatically... So you didn't answer that :S
harris8777 is offline
Reply With Quote
View Public Profile
 
Old 09-26-2010, 02:21 PM Re: Creating mailing list
Skilled Talker

Posts: 56
Trades: 0
oh sorry, I'm a little unclear on what you mean. do you mean sending a email daily to all the people that signed up? or a page where you can write a email and it will automatically send it to everyone subscribed?
__________________

Please login or register to view this content. Registration is FREE
Free Online Games
pcmaster160 is offline
Reply With Quote
View Public Profile Visit pcmaster160's homepage!
 
Old 09-26-2010, 02:25 PM Re: Creating mailing list
miki86's Avatar
Extreme Talker

Posts: 185
Location: print_r($serbia);
Trades: 0
Maybe RSS Feed can help?

http://en.wikipedia.org/wiki/RSS
miki86 is online now
Reply With Quote
View Public Profile
 
Old 09-26-2010, 02:31 PM Re: Creating mailing list
Skilled Talker

Posts: 56
Trades: 0
Quote:
Originally Posted by miki86 View Post
Maybe RSS Feed can help?

http://en.wikipedia.org/wiki/RSS
I agree if it is a blog or something and you want them to get an email about each new post a rss feed would work very well. I use http://feedburner.google.com/ to have people subscribe via email and it works very well. almost no effort on your part.
__________________

Please login or register to view this content. Registration is FREE
Free Online Games
pcmaster160 is offline
Reply With Quote
View Public Profile Visit pcmaster160's homepage!
 
Reply     « Reply to Creating mailing list
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.84260 seconds with 12 queries