Support » Plugin: Email Users » Secondary email for a user

  • Hi,
    If I have a custom field holding a secondary email address for a user, would it be possible for Email Users to pick this up?

    It would require Email Users to retrieve both email addresses from each userid ( provided the second is not empty ). Needs to work for any of the Group/filter options.

    Is this sort of thing possible?

    Cheers
    Alan

Viewing 1 replies (of 1 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    In theory, anything is possible. How much effort to achieve it is the unknown.

    I do think it would be possible but it would likely take some work to develop a filter or action to achieve what you want to do, at least what I think you want to do.

    When the address list is being constructed, you would need an action to query each user for a secondary address and if found, add it to the list. Does it go in place of or in additional to the first email address found? I think you could do this as part of a mailusers_before_wp_mail action.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.