This free app should be great for any newsletter management needs. Copy this one file onto your site, and you’re ready to send and archive all newsletters, manage e-mail addresses and categories, and configure a template for your e-mails. If needed, the source code is well documented!
License
CC Attribution-Noncommercial-Share Alike 3.0
- Subscribe to the NETTUTS RSS Feed for more daily web development tuts and articles.
Tags: newsletter


Nice! Bookmarked!
Looks good.
HUUUUUUUUUUUUUUUGGGE !!!!!!!
great i am diging it
Thanks ! I’m glad you like it.
you mind if i mail you an error log ?
not at all, just go ahead
Great Module!
It would be cool if you could copy HTML into that and send it out as an email blast too. From the demo – you can only do plain text.
Awesome…..!!!!!!!!!!!!!!!
This is just awesome!
Hmm doesn’t want to work for me…
Roughly NO documentation? Have to hard-code to send as HTML, and you can’t even test it? No tracking statistics??
Thanks, but no thanks. I’ll stick to phpList…
Wow…so polite! Im sure many people will want to visit your site seeing as how great you are and helpful for the community.
As far as documentation goes, I’m currently doing a couple of modifications to it. I’ve found that if you know anything about php you should have no trouble finding which parts of the code do what.
The documentation is great.
Crazzzyyy stuff. This is what I was looking for since I was born (and maybe even before..). Thanks a lot.
A lot of eye candy, and works great. But as a email marketing manager, it lacks a lot of important features. Good start though.
Not up to Nettuts standard at all! As Tommy said, no nuthin’. A good newsletter module would be very useful, ‘specially if it plugged in to WP.
I have to agree with Tommy M. I’m a fan of campaign monitor.
Oooh, handy stuff, thanks!
It’s just a tutorial, you start with this an build on it, some people expect the work to be handed to them.
I thinks it’s great, I can already think of a few clients I can use something like this for. With a few enhancements it will be fantastic.
Thanks!!!!
It looks like a great start but there’s no real way for users to manage themselves. How would someone unsubscribe themselves?
Thanks for your comments !
It’s a pre release, so this is what was important for me to know. You’re right Peter, I forgot to manage user unsubscriptions :-) Will be included in 1.0 version for sure.
Also, there are many features mentioned, which I haven’t included just because I didn’t want to compete phpList (as it was mentioned) with this module !
phpList is a complex application for NL management,
this is just one file and easy to use which you put on your website and you’re ready to go, if these options are appropriate for your needs.
And I personally made a lot of websites where these options are just enough.
For sure, if you’re looking for some advanced module,
you’d rather go for something more complex.
Thanks again !
Hello,
Can you please guide me that how to use WYSIWYG editor with this fantastic application? I have used TinyMCE editor but the problem is that the HTML cannot be parsed. Please help me in this regard.
Looking forward for your reply soon
Eshban
The spam filter on hotmail sends messages to the spam bin ….
Any idea to fix this?…
= (
Probably because the return path is defined as you@domain.com.
You can change this in newsletter settings.
Thanks.
whatever, It’s not working.
email address not deleting
can’t see sent mail.
The way I see it, this is why:
Either you didn’t connect to your database correctly or your database is set up with weird permissions settings.
nice, I like it.
good
Bookmarked!
VERY NICE :D This has inspired me to learn more AJAX :P
Great, a perfect solution for a wp plugin!
But not easy to translate in other languages… ;)
Michael thanks for clearing this out. It helps.
Awesome!
Love how people complain about a) a tutorial b) a freebie… seriously dudes!
Thank You.
Please, if you like the module, stay updated through my newsletter ( http://virae.org/newsletter_module/source/ ), as I’m planning to release a new version with some features listed in these comments.
Nice :-).
Thanks Michal ;)
Its not working for me :(
i installed it everything looks cool but when i send massage, i didn’t getting it in my email box. can’t understand why, and from your demo yes i can.
first i thought that it is because of some spam protection but no. it’s just not sending the massage.
i check the mysql and i saw that in sent_mails showed the massages i send.
so everything is ok with mysql.
so where is the problem ?
Try to run an php’s internal mail function on your server, if it’s working ok. You can find a simple script here http://php.net/mail
I have problems with this newsletter.
Then i download it and setup it right im sure i have setup it right, then i press add new categori and type something and press “ok” nothing happens, why?.
Many free web hosts allow you to use most php but deny you the mail() function. It’s their way of saying “Upgrade!”.
So, that may be why you’re experiencing this issue.
Thx for the help, but first i test it on my wamp server and you have right it will not work on that because i havent setup a email client.
now i have testing it on a webhost on the internet and i know it works on that but then i pres “ADD CATEGORY” and press OK nothing happens, and thats wried :O, do you know why? i think its the javascript but i dont know
how would someone sigup to my newsletter, can someone please tell me what i need to do, this is a great script and the developer needs to be thanked not joked around with, most people here donot have any kind of respect for efforts, i would like to see them coming up with something like this, they wish they could, so please pay your respect for something you even intend to use, i know where you guys are coming from, dont think i dont or even michal dont.
Please someone help on how i would get someone to signup to the newsletter from my website.
a simple script for ajax frontend (allowing users to choose a category, as you requested by e-mail ) – http://virae.org/newsletter_module/source/frontend.zip
Thank you for your work
I would like to interview you for my magazine
hey buddy can i translate ur app to any other language keep ur copyrights and add my copyrights for translation ??
Looks awesome and easy to follow the code too! Gonna give it a try. Just what I was looking for.
Hola, un saludito
First of all, thanks! It is handy!
Is easy for ppl like me :)
Hmm, I use the demo to send a test, I get the banner template.
But I download and installed it, when I send, only text?
Can add banner or html code?
Thanks!
find the line that says “$use_template = false;” and change it to “$use_template = true;”. That will give you the default template. To modify it, change the HTML being stored in the variables $template_top and $template_bottom.
There’s no documentation for the source. I really enjoyed the developed solution but I just can’t be sucesseful on installing it.
First of all…sorry for my english!
I am using this FANTASTIC module on my site, and I think I have found a bug.
When you click in an email checkbox, click again to unmark it, and mark it one more time, the email will be sent two times to this recipient.(a lot of mails if you repeat this process).
Is there any way to prevent this email adress duplication?
mm yes i noticed this too it seems as tho a function to clear the list and send a fresh one to avoid duplicating emails was forgotten.
search for the serializeSelection() fuction in your code
and add var emails = new Array();
right after the function begins before the category array is set
Thanks this codeline fix the bug! and this works perfectly! :D
This is great!
I just have a bug here, when i’m click on the sent-email, i have this message
Warning: Invalid argument supplied for foreach() in /var/www/newsletter/index.php on line 954
it’s not a bug. You need to install the sql code first
what about .net????
great job Michal, you are very generous putting this tutorial together for us all. please ignore the ignorant sods that are moaning on here. They are just haters and live miserable meaningless little lives.
With a couple of modifications, this is fantastic for a website I am working on.
Thanks for the great code.
Dear Developer,
It awesome. Where can I see the archive newsletter.?
regards,
Koko
I have problems with this newsletter.
Then i download it and setup it right im sure i have setup it right, then i press add new categori and type something and press “ok” nothing happens, why?.
Is there any way to apply a WYSIWYG editor?
How?
Thanks
nodody can help me?
Nice! very Nice!
Great tool thanks!
I got one question, how many emails will it handle to send?
Thank you!
Great nl code. I just tested online and the admin works great. However i have difficulties setting up the front end. I changed the database settings and upload all on my server but doesnt send email adress to the database. Did i miss something ?
Simply Great for the freshers. I will add some features in it in future and must send u for the review.