Mass Email in ACP Template Variables?

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
aster59
Registered User
Posts: 82
Joined: Sun Jun 26, 2016 1:47 pm
Location: United States

Mass Email in ACP Template Variables?

Post by aster59 » Sun Mar 05, 2017 3:51 pm

In this section of my ACP (screenshot also attached for quick reference):
adm/index.php?sid=c5bc0bd8bb269530596e5e4261beb831&i=acp_email&mode=email

I want to send a mass email out to everyone.

My understanding after editing it and seeing changes is that the template email file for this is language/en_us/admin_send_email.txt. (en_us for me and testing this, will change all files as soon as I figure it out).

I see a variable inside called {MESSAGE}. This is obviously the variable for what I type in that UCP section.

Code: Select all

Hey {USERNAME}! //added by me, it printed "Hey !" as seen in my inbox ({USERNAME} was blank)

{MESSAGE}

{EMAIL_SIG}
How can I put in the .txt template file at the top like "Hey {USERNAME}!" as a greeting so each user gets their username in the email?

In short, I need to know if it is and how it is possible to user a username variable in these board mass emails.

Thanks!
Attachments
Screen Shot 2017-03-05 at 10.47.40 AM.png
Last edited by aster59 on Mon Mar 06, 2017 10:27 pm, edited 1 time in total.

aster59
Registered User
Posts: 82
Joined: Sun Jun 26, 2016 1:47 pm
Location: United States

Re: Mass Email Template Variables?

Post by aster59 » Mon Mar 06, 2017 10:24 pm

Edit: I found these, but none of them work!
Was this feature removed?
viewtopic.php?f=71&t=571663#p3154284

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Mass Email in ACP Template Variables?

Post by RMcGirr83 » Tue Mar 07, 2017 2:34 am

Yes as that is for 3.0.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

aster59
Registered User
Posts: 82
Joined: Sun Jun 26, 2016 1:47 pm
Location: United States

Re: Mass Email in ACP Template Variables?

Post by aster59 » Fri Apr 07, 2017 10:39 pm

RMcGirr83 wrote:
Tue Mar 07, 2017 2:34 am
Yes as that is for 3.0.
Why would this be removed?!
It would be so awesome to be able to address all of the users with their username instead of a generic Hey. Is there any alternative/extension/mod?

aster59
Registered User
Posts: 82
Joined: Sun Jun 26, 2016 1:47 pm
Location: United States

Re: Mass Email in ACP Template Variables?

Post by aster59 » Wed May 24, 2017 5:54 pm

Anyone have any current documentation for putting variables in mass email template of admin_send_email.txt?

{TO_USERNAME} I tried didn't work either. I am also looking to make HTML in the mass emails to stylize them a bit if anyone knows.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50582
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Mass Email in ACP Template Variables?

Post by stevemaury » Wed May 24, 2017 6:36 pm

It would be far easier to do this by exporting the usernames and email addresses and using a proprietary email client, like Thunderbird. If you do:

Code: Select all

SELECT username, user_email FROM phpbb_users WHERE user_type <> 2;
and save the output of the query as Excel or csv, should be easy to make an email group. Use HTML, etc.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Post Reply

Return to “[3.2.x] Support Forum”