XF 2.3 Testing email theme in dev?

eDaddi

Active member
I've got $config['enableMail'] = false in my dev config and dev is a full backup. I'm needing to test the look/feel of the email theme changes. Anyway to do that and keep members from being emailed anything?
 
The only thing that comes to mind are either update all user's emails to something else, or go to /admin.php?users/email and email just 1 username.

If it's a dev server, changing emails shouldn't be an issue. I would do something like noreply.1@yourdomain.com so they dont bounce and give you a hard hit for bounces if using something like Amazon SES) or get your IP banned for spamming @gmail, as you'll receive them all. But, if you don't want to do that, just try not to trigger an email event by liking a post or something. Strictly work from ACP sending out emails to just you.
 
I would do something like noreply.1@yourdomain.com so they dont bounce and give you a hard hit for bounces if using something like Amazon SES) or get your IP banned for spamming @gmai
I was thinking about adding a double @ to the email so it wouldn't deliver to member and I could undo it. Good call on that effect.

I run this query in the database which removes all emails except my own in usergroup 4

Code:
UPDATE xf_user
SET email = ''
WHERE NOT FIND_IN_SET(4, secondary_group_ids)
I think I'll go with something like this. Duplicate the xf_user if needed later and empty the field in the main table.

I use this

Thats slick!
 
Back
Top Bottom