I found Sunmailer today, and I fell in love instantly. Now I want to import all my Simplenews subscription (>800 ) into Sunmailer. I can't find a way to import email addresses who do not have account in my drupal website. Is to there a neat way do it?
Only thing that I like about simplenews is subscription management, for every thing else Sunmailer is great! I wish sunmailer will also (1) allow to subscribe non-registered users, and (2) and offer a unique direct link for each user to unsubscribe (without logging into drupal website).
Thanks for great module!
Comments
Comment #1
Peng.Pif commentedHi mclaren,
I agree with you, this is a great module. I would also like to be able to import and subscribe a large volume of email addresses belonging to non-registered users and also make it easier for users in general to unsubscribe from the newsletter.
For a project I am working on that uses the SunMailer module, the scenario is:
Admins of the site, a Recriutment company, currently have a large volume of email addresses that they have collected via telephone, hand written application forms etc. The email addresses supplied to them in this format have been uploaded to a data management system on their local machines. The email addresses can be exported in csv format.
If email addresses are imported and the recipients do not have an account on the website, I think it would be a problem for them to unsubscribe from the mailing list if they decided to. From my understanding, they would first have to create an account on the site and then unsubscribe, which some might find a long winded process. Especially in cases when more than a username and email address is required to register to the site.
If the process to unsubscibe was easier I think it would be beneficial in these instances and a good addition to this great module.
Comment #2
mclaren commentedBorrowing heavily from simplenews importer, I did two changes. I added following after line 124 of sunmailer.module to create new menu item "Import emails":
Then, I added following at the end of sunmailer.admin.inc:
Now, it imports email address, and when I go to user account page at user/*/edit/sunmailer, it shows subscribed. But when I go to Statistics page at admin/settings/sunmailer/stats, it shows following error "Unsupported operand types in sunmailer.mail.inc on line 728". Can somebody help me debug this?
Comment #3
mclaren commentedThis error only occurs when I choose "All sections" as an option. When I chose a specific section, the error went away! Anyway, somebody with more knowledge of drupal can clean up the code, and commit to CVS. But, statistics page is only showing 364 emails, I don't know why, I checked mysql, sunmailer_user_sections table has 800+ rows.
Now only thing I want is to provide unsubsribe link that does not need login.
Comment #4
Mike Wacker commentedThere's a module called User Import, and I'm tempted to build a solution off of that. If User Import can assign roles to imported users, one viable option right now is to use role-subscribe (but you'll have to provide an easy way for users to unsubscribe by removing that role).
As for unregistered users and unsubscribing, there was a long discussion of that in #684066: (6.x-1.x) Comparison to Simplenews?. I think the philosophy of having the registration form double up as the subscription form still has some life left in it. The unsubscribe scenario is a high priority for the next release (both emails with an unsubscribe link if individual emails are sent and also a password-less unsubscribe option if bulk emails are sent).
Comment #5
Mike Wacker commentedSome sort of bulk-import option is a possible candidate for inclusion by the beta release. Haven't made a call either way, though.
Comment #6
Mike Wacker commentedThis has been added in the 6.x-2.x branch