WordPress.org

Ready to get started?Download WordPress

Forums

Email Users
[resolved] Since version 4.5.4 all E-Mails are put to CC instead of BCC (27 posts)

  1. michaeltonner
    Member
    Posted 10 months ago #

    Since version 4.5.4 all E-Mails are put to CC instead of BCC.

    How can I configure the plugin that all email addresses are not show in CC to the receivers?

    Thx for help!

    Best regards,

    Michael

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

  2. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    The only thing which goes into the CC header is the Sender's name and email address when the CC sender option is enabled. All of the recipients should appear in the BCC header unless something is modifying the mail headers after Email Users is done with them.

    Any chance you can capture the email headers?

    What email client and platform are you using? I've had one other report of something similar which I cannot replicate no matter what I do.

  3. tradeshark
    Member
    Posted 10 months ago #

    I have this exact problem that has started after I upgraded to the new version.
    All my subscribers email addresses used to go into bcc but are now there in cc for all to see. Rather embarrassing.

    I havent changed any settings. I use Windows Mail.

  4. polle001
    Member
    Posted 10 months ago #

    Same here, after upgrading I mailed my 700 users. The result ?
    700 email addresses showing in CC...

    Pretty bad.

  5. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    Can one of you forward me an email that shows this? I would be happy to look at this but I can't make it happen. Here is a screen capture of one of my test emails where you can see there isn't any CC header at all.

    You can send me an email at my WordPress profile username at Gmail dot com.

  6. tradeshark
    Member
    Posted 10 months ago #

    Sure Mike I will forward one

  7. tradeshark
    Member
    Posted 10 months ago #

    sent. Hope I got the address right

  8. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    I got it and it makes zero sense.

    One thing which seems odd is there is no reference to PHPMailer in the mail headers of the email you sent me. If you look at my screen shot, you see a line like this:

    X-Mailer: PHPMailer 5.2.4 (http://code.google.com/a/apache-extras.org/p/phpmailer/

    This is something WordPress does, Email Users doesn't have anything to do with it. The fact that it isn't present in your email header is odd.

    Do know if you have a plugin or other configuration which has overloaded wp_mail()?

  9. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    Any chance you can send me a series of screen shots for each step you take to send a Group Message?

  10. michaeltonner
    Member
    Posted 10 months ago #

    I use the functionality to send the message to selected users, not groups.

    What is meant by "CC sender option is enabled"? Is this the check box "Copy Sender"?
    This is not flagged in my options.
    I have nothing changed in the options after the upgrade to 4.5.4.

    The steps are:
    1. E-Mail to users
    2. HTML, select receivers, fill subject and text
    3. send email

  11. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    The CC sender option will place the email address of the person logged into WordPress and sending the email in the CC field. About the only time you might want this is if you are using the Send User Override functionality which causes the email's "From:" address to be different than the default (which is the address of the current logged in user).

    When sending to multiple recipients, the sender's email address will be used in the "TO" line because many email systems, for spam control, reject email messages that only have addresses in the BCC field with an empty TO field. This caused too many problems to the sender is always used as the TO recipient when sending to multiple users whether using Roles or multi-user selection.

    The steps you noted above are correct and the recipient email addresses should all be in the BCC field.

    Can you contact me via email using my WordPress username (you'll see it if you hover over "member" next to my gravatar icon) at Gmail dot com? I have some things we can try but I'd like to see an example email if possible that has the recipients in the CC headers.

  12. polle001
    Member
    Posted 10 months ago #

    My steps.

    1- Email Groups
    2- Format Text
    3- Click Shift to select all roles
    4- Write title
    5- Write Body
    6- Hit send.

    The complete list of over 750 mails was sent visible in CC to all the users.

    I already sent you via mail the headers of the mail I received.

  13. Sarahbella Media
    Member
    Posted 10 months ago #

    This happened to me as well and I'm an ADULT webmaster. 'Embarrassing' isn't even the word for what's happened. I'm going to have a whole LOT of pissed off users. HELP!

  14. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    I have looked at the code about 100 times over the last two days and I cannot see anything that is putting the recipients in the CC field. Maybe someone else looking through the code can see what I can't seem to see.

    Here is the source code which builds the email headers, search for the function mailusers_send_mail() which is toward the bottom of the file.

    If someone has sometime to work with me on this, I can provide a debug version which will do everything but send the mail itself. What I would need is someone who can capture the Error Log as that is where all of the pertinent email header information will be.

  15. tradeshark
    Member
    Posted 10 months ago #

    Having tried several tests ( and I can confirm that Mike has spent a LOT of time on this) the issue seemed to fix itself. Whether that was due to Mikes update I don't know but it is working fine now.

  16. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    If anyone else is running into this issue I would appreciate hearing from you. I've now worked with two users and in both cases, the problem has gone away after a period of time and we're not exactly sure why.

    I have modified one of the core Email Users files to include some debug output from the mailing process. If you're interested in trying it out, you can find it here. Before you replace the email-users.php file with a the debug verison, rename your existing file as email-users.save or something similar.

    When sending an email with the debug version, a couple new collapsible post boxes will appear at the top of the page. One contains the header information passed to wp_mail(), the other the details of the PHPMailer class instance.

  17. Sarahbella Media
    Member
    Posted 10 months ago #

    Thanks Mike! You're the best!

  18. bkonyn
    Member
    Posted 10 months ago #

    I have just experienced this with Version 4.5.5

    I did email to group subscribers and it sent one email with everyone CC's so they can all see who it went to - and like bellabellucci my site is adult in nature an I feel so embaraced for my customers and myself.

    Happy to provide headers / screenshots as needed but I am scared to send out any more emails now - I use your plugin on about 15 sites!

  19. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    For anyone having this problem, please send me email headers and/or screen shots so I can try and narrow this.

    To make it easier to capture the problem, I have a new DEBUG version of Email Users on my web site. You can find it here.

    1. This DEBUG build will never actually send an email UNLESS wp_mail() has been overloaded in which case there is no way for me to trap that. A red box is containing an "Aborted" message will be displayed when the sending process completes.
    2. There are checks to see if wp_mail() has been overloaded and visiting the Email Users settings page (Dashboard->Settings->Email Users). A warning will appear at the top of the page if wp_mail() appears to overloaded.
    3. There is new debug information captured as part of the sending process. It is captured and displayed in Post Boxes at the top of the page after sending an email.

    There are a bunch of screen shots in a gallery on this page to help understand this new functionality. What I am looking for is addresses in the CC header being send to wp_mail() and/or in the PHPMailer object.

  20. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    I have just released a new beta version which, to the best of my knowledge, resolves this issue.

    Thanks to the help of a few people in the Email Users community. I would not have been able to resolve this problem with out their help.

    If you want to check out the new build, please turn on Debug mode (see the article) as it will prevent email from being sent while you verify things appear operating normally.

    Mike

  21. polle001
    Member
    Posted 10 months ago #

    I will wait for others to test, I can't risk sending again a mass mail like before with all the cc visible.

    Have anyone tested ?

  22. Jamie771
    Member
    Posted 10 months ago #

    We have the same issue with Version 4.5.5. Just sent email to all users yesterday and realized they all got each other email addresses in CC. Not good :(

    Did anybody tested new beta version?

  23. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    Besides myself, I have had three people do pretty extensive testing with the beta version. I am pretty confident the problem is fixed. The beta version also had a debug mode which I would recommend you try as it will allow you see the addresses in the BCC headers without actually sending any email.

  24. bkonyn
    Member
    Posted 10 months ago #

    I've been helping Mike with this and although it caused embarrassment I can say he has been extremely quick to respond and that, on my sites at least, the beta does solve the issue.

    Thanks to Mike for giving up his time to work on this so quickly and for a very useful plugin.

  25. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    Marking this resolved with the release of 4.6.0.

  26. polle001
    Member
    Posted 10 months ago #

    Has anyone tested and confirm its safe to send mails ?

  27. Mike Walsh
    Member
    Plugin Author

    Posted 10 months ago #

    I did quite a bit of testing with about 5-6 different users who had all reported the same issue and all reported it working correctly. There is also a new "debug" switch which will allow you to see the headers Email Users constructs without actually sending the email.

    When in "debug" mode, email is never actually sent. You could use this as well to verify your recipient list. It does require looking at some raw header data but for the most part, it is pretty easy to understand.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags