• In the Email Users Settings from WordPress, there are several default email messages that use variables (I assume) enclosed in percent signs (&SOME_TEXT%).

    In the section below:

    Default
    Notification Body

    these “variables” are used, but I can’t find out how to edit them or assign values to them:

    • %FROM_NAME%
    • %POST_TITLE%
    • %POST_URL%
    • %BLOG_URL%

    Others used in different default settings are:

    • %BLOG_NAME%
    • %BLOG_NAME%
    • %POST_EXCERPT%

    Can anyone point to documentation covering setting these or tell me how to do it?

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

    (@mpwalsh8)

    To use them you simply put the text for the variable in the the post email or template. You don’t assign values to them, the plugin replaces the variable with the appropriate value when one of the variables is found in the post notification body.

    Email Users Notifcation Variables

    These variables cannot be used in regular email, only in post/page notification emails.

    • This reply was modified 7 years, 11 months ago by Mike Walsh.
    • This reply was modified 7 years, 11 months ago by Mike Walsh.
    • This reply was modified 7 years, 11 months ago by Mike Walsh.
    • This reply was modified 7 years, 11 months ago by Mike Walsh.
    Thread Starter mnnaturistsadmin

    (@mnnaturistsadmin)

    So where is the documentation on these? How does the plugin find the “appropriate value”?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    The screen shot above is from the Email Users settings page (Dashboard > Settings > Email Users). The descriptions are listed next to each one and the values are pulled from either the Post or Page which is using the notification facility.

    Whatever Post you are emailing, the plugin will pull the author, URL, title, etc. from the database for that post and insert the values into the email notification wherever the keyword appears. There really isn’t a lot to this.

    Have you tried using the default notification email and sending yourself a post notification? It will give you an idea of how it works.

    Thread Starter mnnaturistsadmin

    (@mnnaturistsadmin)

    “The screen shot above is” mentioned in the last reply is not visible.

    Tried sending message to me (had to change the email settings to allow sender to send to themself), but, even though it said the email was sent, it never arrived.

    Created new user with admin role and used that to send to my account and cc’d the new user. The cc email arrived, but the “to” email did not.

    Emails sent from the sender’s email server do arrive at recipient’s email, but not when going through WordPress / Email Users.

    The “Email Users Test Notification Mail” option to send a test message worked, but the post link returned a “404 not found” error.

    Where can I find documentation for this plug-in?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Have you looked at the Debug feature? Email Users contains a debug feature which will show the constructed email header on the Dashboard instead of actually sending the email. The purpose of this is to allow the user to examine the email header to ensure it contains the addresses one expects it to contain.

    An email has three potential address headers: To, CC, BCC

    Email Users uses the BCC field to send an email to multiple recipients. If you select a group or a large number of users, the email addresses of the intended recipients should appear in the BCC header field.

    The only time the TO field is used in place of the BCC field is when there is only one (1) recipient. When there is on;y one (1) recipient, the address will always appear in the TO field.

    When the CC sender option is used, the sender’s email address, which MAY NOT be the same as the blog admin email address, is placed in the CC field.

    Because some hosts view any message without a TO recipient as spam, Email Users will always put the address of the blog admin in the TO field UNLESS the email is only going to one (1) recipient.

    If you are seeing some addresses receive email but others don’t, it is possible the email is being viewed as spam. For testing purposes I use a combination of Gmail, Outlook.com, and iCloud email addresses.

    The most foolproof way to ensure email sent through your WordPress site isn’t viewed as spam is to use a SMTP plugin. There are quite a few available however the only one I used personally is Wp-Mail-SMTP.

    There isn’t much formal documentation other than the pages included in the WordPress plugin repository:

    I am not sure why you can’t see the screenshot in this thread, it was inserted using the standard IMG button. Do you see a broken image?

    • This reply was modified 7 years, 11 months ago by Mike Walsh.
    Thread Starter mnnaturistsadmin

    (@mnnaturistsadmin)

    Thanks, I’ll try the debug feature to see if I can figure something out.

    I can’t see any image and get no broken link message. Can you see the image?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Yes, it shows up in the first message I posted in this thread. Here is a link to the image on imgur.com.

    It is a screen shot of a portion of the Email Users settings page on the Dashboard.

    Thread Starter mnnaturistsadmin

    (@mnnaturistsadmin)

    Thanks, got it.

    Thread Starter mnnaturistsadmin

    (@mnnaturistsadmin)

    I’ll have to play with these variables in an email to see what they do before I make this “Resolved”. I really wish there was some documentation.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Email Users Defaults’ is closed to new replies.