Support » Plugin: Email Users » 4.8.1 Not Sending Email

  • I think this plugin uses the php mail function, but I can’t seem to get test messages, and my members are not receiving messages. My host provider is GoDaddy which uses SMTP localhost:25 but I don’t think you need the use of SMTP if this is a php mail function.

    Error: wp_mail() Debug

    Syxguns <removed@removed.com>
    [removed] removed: "Auto Draft"
    Members of Drop Zone CC:
    
    Message removed
    
    <a href="removed">removed</a>
    Array
    (
        [0] => From: "Syxguns" <removed@removed.com>
        [1] => Reply-To: "Syxguns" <removed@removed.com>
        [2] => Content-Type: text/plain; charset="UTF-8"
    )

    Error: PHPMailer Debug

    PHPMailer Object
    (
        [Version] => 5.2.14
        [Priority] =>
        [CharSet] => UTF-8
        [ContentType] => text/plain
        [Encoding] => 8bit
        [ErrorInfo] =>
        [From] => {site_url}
        [FromName] => removed
        [Sender] =>
        [ReturnPath] =>
        [Subject] => [removed] removed: "Auto Draft"
        [Body] => removed
    
    Message removed
    
    <a href="removed@removed.com">removed</a>
        [AltBody] =>
        [Ical] =>
        [MIMEBody:protected] =>
        [MIMEHeader:protected] =>
        [mailHeader:protected] =>
        [WordWrap] => 0
        [Mailer] => mail
        [Sendmail] => /usr/sbin/sendmail
        [UseSendmailOptions] => 1
        [PluginDir] =>
        [ConfirmReadingTo] =>
        [Hostname] =>
        [MessageID] =>
        [MessageDate] =>
        [Host] => localhost
        [Port] => 25
        [Helo] =>
        [SMTPSecure] =>
        [SMTPAutoTLS] => 1
        [SMTPAuth] =>
        [SMTPOptions] => Array
            (
            )
    
        [Username] =>
        [Password] =>
        [AuthType] =>
        [Realm] =>
        [Workstation] =>
        [Timeout] => 300
        [SMTPDebug] => 0
        [Debugoutput] => echo
        [SMTPKeepAlive] =>
        [SingleTo] =>
        [SingleToArray] => Array
            (
            )
    
        [do_verp] =>
        [AllowEmpty] =>
        [LE] => 
    
        [DKIM_selector] =>
        [DKIM_identity] =>
        [DKIM_passphrase] =>
        [DKIM_domain] =>
        [DKIM_private] =>
        [action_function] =>
        [XMailer] =>
        [smtp:protected] =>
        [to:protected] => Array
            (
                [0] => Array
                    (
                        [0] => removed@removed.com
                        [1] => Syxguns
                    )
    
            )
    
        [cc:protected] => Array
            (
            )
    
        [bcc:protected] => Array
            (
            )
    
        [ReplyTo:protected] => Array
            (
            )
    
        [all_recipients:protected] => Array
            (
                [dropzonecc@outlook.com] => 1
            )
    
        [RecipientsQueue:protected] => Array
            (
            )
    
        [ReplyToQueue:protected] => Array
            (
            )
    
        [attachment:protected] => Array
            (
            )
    
        [CustomHeader:protected] => Array
            (
                [0] => Array
                    (
                        [0] => Reply-To
                        [1] =>  "Syxguns"
                    )
    
            )
    
        [lastMessageID:protected] =>
        [message_type:protected] =>
        [boundary:protected] => Array
            (
            )
    
        [language:protected] => Array
            (
            )
    
        [error_count:protected] => 0
        [sign_cert_file:protected] =>
        [sign_key_file:protected] =>
        [sign_extracerts_file:protected] =>
        [sign_key_pass:protected] =>
        [exceptions:protected] => 1
        [uniqueid:protected] =>
    )

    Maybe you have a work around for this. I don’t even know if this error log tells you anything.

    https://wordpress.org/plugins/email-users/

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

    (@mpwalsh8)

    The plugin does indeed use wp_mail() to send out email so you are correct there. The debug output doesn’t tell me anything in particular, at least nothing obvious. It says you are trying to send the test message to “removed@removed.com” based on this part of the output:

    [to:protected] => Array
            (
                [0] => Array
                    (
                        [0] => removed@removed.com
                        [1] => Syxguns
                    )
    
            )

    I would imagine that you have changed the real email address with the one noted above. 🙂

    I host my own sites with GoDaddy so I know their infrastructure works with Email Users. These are some things you can check:

    1. Do you have any other plugins enabled? If so, do any of them have hooks into wp_mail()?
    2. Have you tried temporarily disabling all other plugins except Email Users to see if the problem persists? If the problem goes away, we’re looking at some sort of a plugin conflict.
    3. Do you have DEBUG mode enabled all the time? If so, the email is never actually sent. When in debug mode the plugin intercepts the hand off of the email content and displays it like you posted instead of passing it along. There are a couple of PHPMailer hooks in play.
    4. Have you checked your spam folder for the email? GoDaddy’s infrastructure stamps the headers will all sorts of odd server names none of which are likely to match the domain of your web site. An SMTP plugin can help here as some will send mail through an actual account preventing this from happening.
    5. Is the address you’re testing with an Outlook.com email address? I have had problems with mail being delivered to Outlook.com addresses and I have no idea why. The same message send to Gmail is fine.

    Those are a couple places to start looling.

    Sorry for the delay in my response, been pretty busy.

    Do you have any other plugins enabled? If so, do any of them have hooks into wp_mail()?

    Have you tried temporarily disabling all other plugins except Email Users to see if the problem persists? If the problem goes away, we’re looking at some sort of a plugin conflict.

    While testing I turned off all security, firewall, and cache. I guess the easiest way to say that is, “Yeah, I turned off all plugins while testing.” LOL

    Do you have DEBUG mode enabled all the time? If so, the email is never actually sent. When in debug mode the plugin intercepts the hand off of the email content and displays it like you posted instead of passing it along. There are a couple of PHPMailer hooks in play.

    No, I only turned on the debug to see if it would answer any questions. I also installed “Postman SMPT” to see if that would fix the issue but had no success with that. That is when I contacted GoDaddy to see what the SMTP was set at, and it was tested from their side and showed that it should work.

    Have you checked your spam folder for the email? GoDaddy’s infrastructure stamps the headers will all sorts of odd server names none of which are likely to match the domain of your web site. An SMTP plugin can help here as some will send mail through an actual account preventing this from happening.

    I did try the Postman plugin, and gave it the correct SMTP ports to work with but had no success. I also tested to a gmail account, outlook account, and a yahoo account. Checked all spam folders but no success.

    I might try uninstalling and then installing the plugin again fresh. Maybe I’ll get lucky. The funny thing is that it use to work when I tested it, but then the last update it stopped working. I’ll let you know if a fresh install of the plug in does the trick.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I wouldn’t think that uninstalling and reinstalling would have much effect, if any. Do you get mail properly from comments and/or user registrations and/or password resets? Email Users uses the same email mechanism as comments and registrations so if they work, I would expect Email Users to work as well.

    Very strange indeed. Just tested change password, and left a comment, I also get e-mails about new user registration. When I try to send an e-mail to a test user account which is a gmail address the message does not go through.

    Might have to give you admin status to see if I have something set incorrectly. I removed the SMTP because the plugin did work when I first installed it.

    The steps I follow,
    Email Users / Send Individual Message
    Plain Text
    from my e-mail which is outlook.com
    I select one user in this case another user that I created
    place in the subject
    type one sentence
    Press Send Email

    I’ve checked the user profile and the e-mail address is correct. It tells me the message was sent successfully but I never get the message.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    If you want me to take a look I’d be happy to. Use my WordPress.com username (mpwalsh8) at Gmai dot com.

    I sent you an e-mail with the privileges you need to access the full site 100%. Remember not to use backdoor approach as I have all standard wp links blocked.

    Thanks for taking a look.

    Mr. Walsh,
    I haven’t heard back from you for a few days. I just wanted to touch base to see if you had a chance to investigate the problem?

    Thank you,
    Syx

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘4.8.1 Not Sending Email’ is closed to new replies.