Skip to:

registration confirmation email sent as attachment

  • Hi,

    I am not sure if I am having a plugin conflict or something but just recently some emails sent to users are sent with errors. I tested it and in yahoo mail it shows like this:

    `; charset=”UTF-8″

    Thank you for signing up, click the link below to activate your account:`

    In hotmail it arrives as an attachment. Does anyone know where I can look to try to fix this ?


Viewing 11 replies - 1 through 11 (of 11 total)
  • I just deactivated my 2 email plugins (wp-mail-smtp + mail from) and the error persists. I wonder if I should try to upload original wp files…


    Boone Gorges


    Weird, I’ve never heard of this error before. Is it happening with other WP or BP emails? (Other WP emails include comment notification and password resets – give one of them a try)

    Thanks for the reply.

    Just tested the password reset and received the email without any errors.

    Hey @boonebgorges, do you know which files are used to send the registration confirmation email? Perhaps I could test those files to try to find out if there is an error in any of the files.


    Just tested and the comment notification emails have errors as well.

    I am using WPMU with BuddyPress.

    Emails and their status
    – Signup confirmation (error)
    – Password reset (ok)
    – Comment notification on blog posts (error)
    – Private messaging (ok)
    – User mentions ( @user) (ok)
    – Friend request (ok)

    Boone Gorges


    Very strange. The fact that you’re having problems with the email notification of blog comments shows that this is not a problem with BuddyPress, but is some combination of your server, WordPress, and possibly Yahoo Mail.

    Have you tried reading the problematic mail through another method? POP3 or IMAP? Or maybe the same email sent to another provider like Gmail? At least that could rule out the mail client.

    I tested it out with yahoo and hotmail and my own email through pop3 and imap.

    I suspect it is something to do with WordPress, but I dont know where to look. I feel as though one of the files used to send out emails has been altered by one of our programmers. We uploaded the original files our programmers had changed but that didnt work either, so Im still stuck.

    Umm.. any more ideas?

    Thanks a lot for your help man.

    Boone Gorges


    The function that is used to send emails is called wp_mail(), and it’s defined in wp-includes/pluggable.php. You might have a look there to begin with, and maybe even replace the version of the function in that file with a fresh version from a newly-downloaded copy of WP, if you suspect that some things have been changed.

    Another thing to keep in mind is that wp_mail() is pluggable, which means that plugins can add their own version of the function, which will be used instead of the one in wp-includes/pluggable.php. If you’ve got shell access to your server, you can see whether this is happening with the following command, run from your wp-content directory:
    `grep -nR ‘function wp_mail’ ./`

    If this turns up any results, then that might be a good place to look for wp_mail hanky panky.

    hahaha Dude you did it. I jut uploaded a fresh version of pluggable.php and it worked.

    Thanks so much, really.

    Is there a ‘buy a beer’ link anywhere??

    thanks again

    Boone Gorges


    Ha ha. if you *really* want to buy me a beer :)

    Done ;)

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘registration confirmation email sent as attachment’ is closed to new replies.
Skip to toolbar