Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to be able to send emails to my subscribers but reference their name in the email and possibly some other profile fields. Can I do this using mailpress?

So for example. I want each email sent out to start with.

Hi Tom,

rather than

Hi,

I notice that you can add custom fields but couldn't work out how to relate that to a user profiles field at the time.

share|improve this question

1 Answer 1

This page seems to have the variables you need:

http://www.mailpress.org/wiki/index.php?title=Manual:Api:Mail

If you use $args->toname in your email code somewhere, that should display their name.

Please note that I just skimmed through the site and found this, so I can't guarantee it works since I don't know what your current code looks like nor have I used the plugin, but it looks like this is what you're looking for.

share|improve this answer
    
Cheers. I'll take a look. –  dreza Jan 20 '12 at 20:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.