• st5uzmloopsqz7dr9egp

    (@st5uzmloopsqz7dr9egp)


    I am trying to add a code that would put the to user’s name at the top of the body so I could have “Dear User” at the top, for example. I saw your old post from a couple years ago about why that isn’t available. I only plan on sending to one user at a time, random messages. So is there a way I could pull this off? Thanks.!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter st5uzmloopsqz7dr9egp

    (@st5uzmloopsqz7dr9egp)

    This is for custom emails only if that matters … I’m not using the notification emails …

    Plugin Author Mike Walsh

    (@mpwalsh8)

    There isn’t a keyword replacement for the user even when only sending to one user. The only thing which is different when sending to a single user is the recipient’s email address is placed in the “To” header instead of the “Bcc” header.

    Thread Starter st5uzmloopsqz7dr9egp

    (@st5uzmloopsqz7dr9egp)

    I wonder if there might be a way to make it happen? I’m not a php developer but I know front end code and familiar with php just not an expert. Maybe you can give me a pointer in the right direction to write something to add on to this for my client? Thanks!

    pdtemplatezone

    (@pdtemplatezone)

    Hi Guys.

    First of all, thank you for a great email solution. I know how much time you had to spend creating it and updating it this far. Much appreciated.

    I modified the script so that it consist now of the %MEMBER_NAME% variable so that the email is more “personal”.

    However, I’m not that good in PHP, so I don’t know if the code is perdect, but hey, it’s working for me! 🙂

    Thread Starter st5uzmloopsqz7dr9egp

    (@st5uzmloopsqz7dr9egp)

    Would you mind sharing your code for the rest of us pdtemplatezone. I’m having the same issues. Thanks.

    Should I upload the complete modified email-users.php? Am I allowed to?

    Thread Starter st5uzmloopsqz7dr9egp

    (@st5uzmloopsqz7dr9egp)

    Maybe you could copy and paste the snippet if it’s not that big and where to add it?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    If you want to send it to me at mpwalsh8 at gmail dot com I’ll do a diff against the subversion repository and look at adding it in if all looks good and doesn’t create a support problem.

    Hi Mike

    I emailed you the two files I modified.

    Thank you for your great plugin 🙂

    Cheers
    Godfrey

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘To User Variable’ is closed to new replies.