Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2003
Posts: 107
Journeyman
Journeyman
Joined: Dec 2003
Posts: 107
How do I generate a list of users who wants to recieve emails (in 6.5)?
I want to send out a newsletter occasionally, but I only wanty to send it to users who have accepted to recieve mails ("Receive Administrator Emails"). But when I do a search for users I don't see such a field? And the resulting list of email adresses seems way to long (I highly doubt 90% of my users have chosen to recieve emails)

I would not like to send out "unsolicted" emails and end up on spam-filters

Any help appreicated, thanks

Sponsored Links
Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
I always send out my newsletters with a third party program (listmessenger). To export the list from my database of subscribed users, I use the following query:

SELECT U_Email
FROM w3t_Users
WHERE U_AdminEmails = 'On'

Joined: Dec 2003
Posts: 107
Journeyman
Journeyman
Joined: Dec 2003
Posts: 107
Thanks!

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You can do that from the admin menu in 6.5

Control Panel -> Member Management ->
Click "Submit" to search for all members

Then at the bottom, change radio button to "All members in Search" and select "Email" from the pull down menu.

On the next screen you can choose to either do the email within threads, or export the list of email addresses. This should only grab users who have agreed to accept emails.

Joined: Dec 2003
Posts: 107
Journeyman
Journeyman
Joined: Dec 2003
Posts: 107
Well, I get much different results from using the SQL command and the search like you suggested. I'm not sure the search "filtering" is actually working as it generates a list of 320 email addresses (my forum currently has 344 members) whereas the SQL command generates a much smaller number....

Sponsored Links
Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
That's probably because the SQL command doesn't count the members who have set U_AdminEmails='NULL'

Josh, why do some users have the 'NULL' setting for U_AdminEmails ?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
If they never edited their profile, they don't have a yes or no answer yet.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
In 6.5 you should add the "receive emails" question to the registration screen, and make it required. Then at least people will have a yes or no answer for the question.

Joined: Dec 2003
Posts: 107
Journeyman
Journeyman
Joined: Dec 2003
Posts: 107
Thanks, good idea, I will do that!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)