Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
626 views
in Q2A Core by
edited by

I would like to send an email to all users, and greet them personally like: Hello [username]

Is there a ^username handle for mass mailings?

How to call it/use it in the body-text (admin/mailing)?

1 Answer

0 votes
by

Not currently, but you could make minor modifications to the qa_mailing_send_one(...) function in qa-app-mailing.php to do this. Wrap something around qa_opt('mailing_body') which does the replacement you want, using the $handle variable passed to the function.

Unfortunately it's not currently possible to do this via a plugin, so you'd need to modify the core.

...