By mfizzel on
I'm not looking for newsletter functionality, I just need to send my members (15K+) server notices every now and then...how could this feature be overlooked?
I'm not looking for newsletter functionality, I just need to send my members (15K+) server notices every now and then...how could this feature be overlooked?
Comments
Well, the problem is that
Well, the problem is that the website will be running slowly while those emails are sent.
But, this is an easy task. It just requires a little PHP.
----
http://PointHomes.com
To avoid the flame war below
If you read below you will see this turns into a big flamewar.
If you want the functionality he is talking about then just grab the Advanced User module.
http://drupal.org/project/advuser
---------------------------------------------------------------
http://xamox.NET
flame war?
what flame war? Do you mean the conversation between me and Steven Peck? If that is what you are talkign about, then that was simply two guys disagreeing and nothing more.
--------------------->
underpressure
http://ravalonline.com
Xamox, thanks for the info
Xamox, thanks for the info .. btw how to use ADVUSER. I think it is only to EMAIL certain roles when a new user registers, not email certain roles a fresh content like MAIL does
I see this: it has only two functions? Mail notifications on new users / Profile module special settings
and below is the settings/options
advuser
Mail notifications on new users
User notify
Notify selected roles when new users register.
Mail subject:
The subject of the mail that is going to be sent to the user. Placeholder variables: %username, %site.
Mail body:
The mail that is going to be sent to the selected roles. Placeholder variables: %username, %site, %uri.
Roles:
authenticated user
Roles that receive email notifications when new applicants register.
Profile module special settings
Profile fields:
Profile fields to be used as filters for the users.
A little php
Hi,
I just created a mass mailer for Drupal 5.0 and thought it might be worth having others check it out for bugs, etc. All it took was a little php, as mentioned. I took the core contact module, copied it over to mass_contact, then hacked it apart to turn it on its heels (brutal, I know) and send mail from the admin to registered users based on their roles (or to everyone). Simple, functional, it's what I needed anyway.
Here's the code:
mass_contact.module
mass_contact.info
mass_contact.install
line #398 should be changed
line #398 should be changed to avoid adding an extra comma at the end of recepients list (some SMTP servers rejects empty address)
Fo example to:
$recipientout .= (empty($recipientout)?"":", ").$rnamea." <".$rmaila.">";Better than that...
Thanks for spotting it... I worked some more on it, though, and used an
implode(',', $recipientout)command instead. Also added a new node type on install and node-adding a cc for each mail message. The whole module is here:http://drupal.org/node/106944#comment-182723
Easy :)
It's not that it was overlooked, it's just that no one has contributed a module that had such funtionality as few needed such a funtion.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
interesting...how could only
interesting...how could only a few need to contact their members regarding their sites? Especially community based sites...
drupal has just about EVERYTHING I need, I'm kinda shocked I can't email my members!
Its does exist ...
Hi
I do need this feature and have found that Simplenews plus the patch from this thread (which allows by-role subscription to a newsletter by admin) works very well for me. It has cron features so that the emails get sent in batchs (from Simplenews) and to subscribe all members is easy with the patch. (Of course you need to remember to set cron up to run properly unlike me ;)
I think that this IS a necessary feature so if you could encourage the creation of the contrib module for Simplenews you wouldn't be alone.
Mark
does that only work for 4.7?
does that only work for 4.7?
ah well as to why....
This is a more complicated discussion.
You can email your members. I am not saying you can't. I meant that no one has either seen the need to email 'their' members OR contributed their solution (in the form of a module or handbook page) to do this.
Everyone brings their needs and ways of working to their implementation of Drupal. This is good because it means that often more people benefit from others solutions to their needs. I mention this difference because I have around 14 sites and not one of them would ever need a mass or global notification to it's users, but that's the nature of 'my' sites and not yours.
In the last few weeks I think you are the third such to mention a need in the forums. Again, this is good. It means that someone will hopefullly either A, solve it and give you a solution or B, help you solve it and you can give the solution to the community.
You can get all your users email address with a SQL query, something like
SELECT init FROM users;(works on 4.6) will dump a list of all the email addresses of your users. This may solve your short term notification needs.You can look at the Simplenews thread above. Or perhaps you can modify privateMSG and add this feature and then contribute it back to the privateMSG module maintainer.
All of this helps increase the diversity of Drupal's audience and it's capabilities.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
something like SELECT init
something like SELECT init FROM users;
thanks, I was able to export my users email addresses as a csv file
Can anyone recommend a bulk mailing program or service?
I too would like this ability.
Steven, The people who are requesting this function do not understand PHP so they can't right it themselves.
I disagree that only a few need this function, I think the reason for little request are the work arounds people have had to use.
--------------------->
underpressure
http://ravalonline.com
yes and?
I understand that they can't. This is open source. They have some options.
1. Learn php. - This is a good thing for using Drupal in any case. Of course, I haven't really bothered myself.
2. Use a work around. - Several listed, mine included.
3. Pay someone. - self explanitory but people get upset when this option is mentioned.
4. Hope someone will contribute. - wait. wait. wait. hope. plead. get mad. rant on forums. rant on blog. ah well.
It's not mean, it's not a slam or a put down, it's telling people their options.
Only a few of the thousands and thousands of Drupal based sites out there need this functionality. You know how I know? If it were a more common need, it would be a contrib module. Supported by someone or a group of interested someone's. If it's not written and supported by someone, then it must not really be all that important or someone would learn enough php or pay someone and maybe, just maybe share their solution.
This is the weakness and the strength of Open Source software. If you are not able, then you must rely on others. You can relly on others by paying them or finding someone who is really nice. Failing that, you can learn enough to do for yourself.
I'm not saying it's not a valid function. I'm not saying you couldn't use it. I'm saying that someone, somewhere needs to do the work. Saying;
or
doesn't mean that it will get done. It merely means someone is shocked and they felt something was overlooked for their needs.
And there is still not a module to do this.
Of course, I did provide a work around that someone could use to implement into a module if they wanted to.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Steven, I didn’t take your
Steven, I didn’t take your post the wrong way I know you mean well, I just do not agree 100% with your point of view.
1. Learn php. - This is a good thing for using Drupal in any case. Of course, I haven't really bothered myself.
I'm sure many newbies (Drubies?) would love to learn PHP, but not everyone has the time
2. Use a work around. - Several listed, mine included.
The work arounds are similar but not exactly a standard massmailer so there are not going to work for most (but they are always welcomed)
3. Pay someone. - self explanitory but people get upset when this option is mentioned.
If it was only that easy, not all can afford to do this.
4. Hope someone will contribute. - wait. wait. wait. hope. plead. get mad. rant on forums. rant on blog. ah well.
Shame it's against the law to hold someone by gun point
I don't think that because a contib doesn't exist means that there isn't much need. It seems to me like the people who want this feature do not have the skills to mail it, let’s not forget that there was a massmailer in 4.6
I’m not saying you are wrong, there is substance to your point, but I think you truly understand what it’s like for us who would like this feature.
As for shocked, this is because it seems like a standard feature for any web program.
--------------------->
underpressure
http://ravalonline.com
You are entitled not to agree
but we are back to people scratch their own itch and this is one that some one who is able hasn't felt like doing. As to the contrib module mass mailer, well it sort of proves my point, there isn't a version for 4.7 and it didn't work on Windows anyway.
'Standard web program'. That phrase is such an interesting phrase. It implies that there is an agreed upon consensus on what such a phrase means. There isn't. You won't find it. That may be the stumbling block here. As I said, I don't need it. As someone who deals with email on a regular basis I consider sites that send me email without my express permission, my doing something like oh, signing up for the newsletter on my own, to be spammers and block accordingly.
In any case, I am tracking my thoughts on why Drupal is different. People bring their expectations with them and often skip reading a projects history and mission. We also probably do not do as good a job on explaining it so we'll see if we can get something ready by the time 5.0 is released.
I find the gun point reference disturbing and threatening and think it's an excellent idea it's against the law in most countries and very NOT relevant to the conversation.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
I find the gun point
I find the gun point reference disturbing and threatening and think it's an excellent idea it's against the law in most countries and very NOT relevant to the conversation.
Cheap humor Steven.
--------------------->
underpressure
http://ravalonline.com
...
I have never felt a threat to be humourous in any context.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Lets move on
I have a crazy idea, this sounds too crazy but I’ll still put it out there, based on the 4.6 mass mailer, it seems like building a mass mail module requires lots of code to be written. I was wondering if it would be easier to write a module that would retrieve the current list of members email addresses from Drupal and then load them in the address bar of thunderbird.
I’m putting this out there in the hope it may present itself as an interesting challenge or if possible be able to persuade a Thunderbird developer to write it.
If someone won’t write it because they don’t need it perhaps a challenge would. The odds would double because you can approach 2 communities instead of one.
--------------------->
underpressure
http://ravalonline.com
As to the learn PHP
As to the learn PHP reference, I learnt a LOT in one day alone! I've easily spent DAYS trying to figure out how to do something in a module slightly different to its original design. Now I am more confident I can.
If I stick at it, in a week I can see me customising modules with relative ease or at least a less bumpy ride. So much less time wasted on trying to figure things out without having a clue at all.
In the near future, I really hope to contribute code to modules. Yes it does take time but along the way I get to understand and customise some modules the way I want, which is the result you want.
If you take the plunge, you will not regret it. Well, not much. ;-)
http://drupal.org/node/82995
How did this turn into a
How did this turn into a fight about getting more stuuf for free? :D
Anyways, I just used the simplenews module with the patch for sending out an update notice to my very small list of users and I think it does what everyone here wants. Just go to http://drupal.org/node/49980 it's reply #40 for the latest patch. Upload it to your modules, activate it, go to http://yoursite.com/?q=admin/newsletter (type in your site name first silly), then click 'subscriptions' then you will see a 'role subscription' option. Click that then you will see a list of newsletters you have created. Now, a lot of people are complaining that they don't need a so called "newsletter" so let's call them emails with the ability to save :)
If you haven't created your newsletter (cough... I mean email) then I think you will have a default one named www.yoursite.com newsletter. Expand that and you will see your user roles. Click all to subscribe all to that specific newsletter.
I created a newletter called "Update" which is when I want to send ALL members an update notics on the site. I clicked 'newsletter' 'add newsletter' and added 'update.'
To create the email I go to 'create content' and select to create a new "newsletter." Title it, select which newsletter to add it to (mine was "update"). I sent out an html email to my users that I created. I entered the html in the message section, and expanded the 'input formats' and chose 'full html.' I then chose 'html' again under the format options. There's other cool options below that, I won't go through them all... so hopefully you get the idea by now.
As far as learning PHP... I am trying because there is a very important feature that I would like and I don't think it will be done anytime soon. I want an option within the subcriptions module to give users the ability to choose to subscribe to specific cck fields filled in. So, I will open up the subscriptions module, crack open the php book, and try and figure something out. If someone figures it out before me....pheew! If not, well I guess I learn how to create a patch which isn't a bad thing!
~~~~~~~~~~~~~~~~
Kris
Current project: www.cribfax.com
well............
I wouldn't call it fighting since I never got hostile or think anyone else were. All I see is two people with different points of view and expressing them.
You know, now you that you mention it, perhaps the best solution would be to create a massmailer from simple news, more fine tuned for that pourpose than a patch> It woud take less to recode or even a feature request.
--------------------->
underpressure
http://ravalonline.com
what did you call it
what did you call it again.... humor?? :D Twas a joke.....
Did you check out the patch I mentioned? You can mass mail from that.
~~~~~~~~~~~~~~~~
Kris
Current project: www.cribfax.com
No, I didn't, but now that I
No, I didn't, but now that I think about it, it sounds like a good start to a feature specific module for mass mailing.
You know, it doesn't sound like a bad project for a newbie, strip and add a few functions and you've got a mass mailer module, since all you would mainly need to know is how to write and add the specific functions instead of starting from scratch .
--------------------->
underpressure
http://ravalonline.com
or...
5. Ask a developer an estimate cost to upgrade the module. Then spread the voice (actually this post might be already a good amphitryon) and involve as many interested people as possible to share the expenses with.
If Mail for 4.7 is that relevant, shouldn't be hard to find other Drupallers wanting to co-sponsor the bounty with a 100$ or something. ;)
Curious
I am curious.
Why "SELECT init FROM users;"
rather than
"SELECT mail FROM users;"
Just trying to understand.
...
Because I was in a hurry when I looked at the db and it's not a specialty of mine. Also init is the very first thing you enter for an email address -- OR -- it picks up your logon id from a site that allows Drupal style authentication. Either way it serves as a nice spot for the originating data.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Shocked? It existed and I
Shocked?
It existed and I used it a lot - it's MAIL.module for 4.6.x
But for 4.7.x it doesnt work (?)
Have you tried the Mail module?
Project page: http://drupal.org/node/10227
Yea I've actually downloaded
Yea I've actually downloaded it and installed it but I can't figure out how to send mass emails to everyone...is that possible with this module?
The confusing thing to me is that with this module you create mail as you would a story or page...but I don't see anywhere to enter email addresses or to choose who it sends to.
Mail setup.
After you install the mail module you need to enable the content type for "mail". Then when you create a content type of "mail" you will see a checkbox for each user role on your site. This is working for me with a fresh install of 4.6 and the 4.6 download of the mail module.
Thanks for the tip jsloan, I
Thanks for the tip jsloan, I thought I had enabled it but it wasn't.
Mail module
Just to clarify what seems to be the position (from the point of view of a very non-techie site administrator):
a) quite a few of us see the need to send out emails to our site members (one-way info from admin - could be tips, hints, breaking news for those not using notify etc); as with the original poster mfizzel, to me this seems really fundamental
b) there was a claim from Steven Peck that the functionality didn't exist within Drupal and hadn't been created to date because there had been insufficient need for it: but this statement seemed to be in error because:
c) there is the Mail module (which I have installed on my 4.6 site) and have used and which seems relatively simple
d) BUT there is not apparently an intention to uprade it to 4.7 because, the site documentation claims, "There are no plans to update this module to 4.7, as other mailing modules are now available for this module's tasks. If you wish to send out content as mail, try the Send module in combination with Mime Mail."
e) HOWEVER: my reading of the 4.7 documentation doesn't show up anything which seems to replicate what Mail does in a simple and straightforward way - which leaves me frankly baffled... I am having problem seeing the combination of Send and Mime Mail in that way, certainly, as one of the key features of the Mail module is to distribute mail by user role
So if anyone can shed light on this, correct any errors, make it clearer how to use 4.7 modules to replicate what Mail does for 4.6 or wants to join forces in helping persuade someone to update the Mail module to 4.7 I hope you will comment.
Thanks.
Mail module
Just to clarify what seems to be the position (from the point of view of a very non-techie site administrator):
a) quite a few of us see the need to send out emails to our site members (one-way info from admin - could be tips, hints, breaking news for those not using notify etc); as with the original poster mfizzel, to me this seems really fundamental
b) there was a claim from Steven Peck that the functionality didn't exist within Drupal and hadn't been created to date because there had been insufficient need for it: but this statement seemed to be in error because:
c) there is the Mail module (which I have installed on my 4.6 site) and have used and which seems relatively simple
d) BUT there is not apparently an intention to uprade it to 4.7 because, the site documentation claims, "There are no plans to update this module to 4.7, as other mailing modules are now available for this module's tasks. If you wish to send out content as mail, try the Send module in combination with Mime Mail."
e) HOWEVER: my reading of the 4.7 documentation doesn't show up anything which seems to replicate what Mail does in a simple and straightforward way - which leaves me frankly baffled... I am having problem seeing the combination of Send and Mime Mail in that way, certainly, as one of the key features of the Mail module is to distribute mail by user role
So if anyone can shed light on this, correct any errors, make it clearer how to use 4.7 modules to replicate what Mail does for 4.6 or wants to join forces in helping persuade someone to update the Mail module to 4.7 I hope you will comment.
Thanks.
I second that.... the
I second that....
the closest for 4.7.x is notify, but purely voluntary as per user, unlike Mail.module
Mai.module works only for 4.6.x..I wish I could tweak PHP ...:)
Have you posted the request at the module page?
BTW, almost the same thread for mail.module
http://drupal.org/node/72829#new
The instruction:
*export your mail addresses and send them
http://drupal.org/node/65158#comment-122973
only use something like SELECT mail FROM users;
*
How is this executed, can we use `database.module' to execute it, and inside query or script window?
I just want to send a mail
I just want to send a mail to my users notifying them of a few changes.....
I don't need subscriptions and the mail module seems to be simple and exactly what I need. I downloaded send and mimemail but I can't send mailto my users?? Although I like the send page to friend feature....if I could get it to work.
I guess I have to export my users email addresses and do it that way :( I just want to click a button and send!!
~~~~~~~~~~~~~~~~
Kris
Current project: www.cribfax.com
I would learn PHP and try
I would learn PHP and try upgrading MAIL.module which is for 4.6.x and doesnt work for 4.7.x
Is it simple to do this? I too am dying to use MAIL.module for new Drupal and this might motivate a non-PHP programmer to hack this one particular module
I used the above simplenews
I used the above simplenews module with the patch to allow admins to select user roles for each "newsletter" they want to send. I just wanted to send mail to users about updates, so I selected all users and emailed them the info. It allows you to send html emails and keeps a copy of them which is cool. I don't know how this would compare to mail.module?
~~~~~~~~~~~~~~~~
Kris
Current project: www.cribfax.com
Does it work? Drupal 473?
Does it work? Drupal 473?
If SimpleNews can be used to email ALL USERS with just one click, then it can fill in the MAIL function - I havent used SimpleNews - I used MAIL extensively everytime a new content (text, image, webform, anything) is created, I click `Send to users' and it is sort of sending afresh newspaper right to the homes on the reader tables
You said about *Patching SimpleNews* - could you share with us here the link to the patch
Because I saw in admin/newsletter/settings no way of selecting roles to send newsletter - I know that SImpleNews is sort of VOLUNTARY but how to make all users receive it (including those that didnt choose to subscribe to newsletter in the side block)
*Hmmm
Fatal error: Call to undefined function: form_select() in /home/*/public_html/*/modules/mail/mail.module on line 39
If I were PHP literate, I would have volunteered to do something about it :) Anyone can guide me please?
Sorry Muslimguy, just saw
Sorry Muslimguy, just saw this now.. here is the patch: http://drupal.org/node/49980
Make sure you go into the admin/modules and enable simplenews_roles module. After you do this, you will see a new tab in the subscriptions.
~~~~~~~~~~~~~~~~
Kris
Current project: www.cribfax.com
Profile_cvs
there's a module called profile_cvs that actually lets you export into a cvs file custom profile fields for choosen role(s).
Pretty easy then to import in a third party mailing list program.
Hope this helps
Subscriptions with a role subscription feature
Hi
The best thing is definitely to add the role subscription feature to the subscriptions module. I think it makes sense because:
1) subscriptions is well maintained and very versatile
2) on a working site roles define people who need to be notified about certain things
3) the patch exists already
I really think this is a solid and the best way to go.
Mark
Here's a rundown of mass mail modules
Brasquido put together a thorough overview of the 11 current options available for mass mailing, here.
Lets VOTE! The proposal is
Lets VOTE!
The proposal is to upgrade MAIL.module to Drupal 4.7.x and 5.0 and INCLUDE this nifty module into Drupal installer
+1
got my vote
~~~~~~~~~~~~~~~~
Kris
Current project: www.cribfax.com
+1 more = 3
mine too
--------------------->
underpressure
http://ravalonline.com
+1 more =4
mine too
+1 more
and if this site could e-mail these voters when it's done? oh, dare to dream...
+1
+1
done
Didn't know if everyone saw this, but mail module has been updated to 4.7 http://drupal.org/project/mail
~~~~~~~~~~~~~~~~
Kris
Current projects: www.cribfax.com
www.myabatherapist.com
Thanks for pointing it And
Thanks for pointing it
And many THANKS to NEDJO
yuttadhammo has made a mass contact module for 5
It's not altogether functioning just yet but he is actively working on it as of 24-1-07 at the bottom of http://drupal.org/node/106944