• My users can register but when they do the E-mail that they are meant to receive with they’re account details hasn’t arrived. I’ve tried this myself. How long should it take?

Viewing 11 replies - 1 through 11 (of 11 total)
  • It should be near instantaneous, Arranf. Have you tried registering new accounts yourself?

    The reason I ask is that it’s possible your e-mails are being stopped by your users’ anti-spam systems. If you try it, however, at an account that already receives mail from your blog, then you can truly ascertain whether the mails are being sent.

    If they don’t make it to you, I would start by looking for sendmail on your server. Is sendmail installed and available for your use? If so, is your site configured to allow scripts to access sendmail? Some servers prevent that as a security precaution. Your host should be able to answer these questions for you.

    Thread Starter arranf

    (@arranf)

    So what am I looking for?

    You should get an e-mail from wordpress@yoursite with the subject [Your Blog] New User Registration.

    Thread Starter arranf

    (@arranf)

    Is sendmail installed and available for your use? If so, is your site configured to allow scripts to access sendmail? Some servers prevent that as a security precaution. Your host should be able to answer these questions for you.

    I meant could you explain that bit again ??

    Oh, sorry. I mean, ask your hosting provider those questions.

    Thread Starter arranf

    (@arranf)

    Is there any known hosts that work?

    I don’t think it’s sending out anything..

    I am getting the admin notification of a new registration, but as the registeree, I am getting nothing. Even on “lost your password” I am getting nothing.

    I am off to check if somehow I am blocking the emails, but I don’t think so.

    I must have blocked something for the email I initially tested. Using another one, it worked fine.

    I use MidPhase and AN Hosting for my domains. So, v.2.2.1 is working fine to send out the new user’s notification.

    Thread Starter arranf

    (@arranf)

    Are there any free hosts it works with?

    Arranf,

    Is there any known hosts that work?

    That’s not an easy question. In my opinion (I’ve been building or managing Websites professionally since 1994, and I owned a hosting company in the late-90s) sendmail is something that should be available from nearly every hosting company, to nearly every customer. In general, most hosting companies have provided sendmail for their customers’ use. In recent years, though, some hosts have reluctantly limited or completely forbidden script access to sendmail as a matter of security. Spammers can relatively easily exploit vulnerabilities in common scripts like blog and forum software to gain access to sendmail for the purposes of using your or your host’s server to broadcast unsolicited e-mail.

    Sendmail is a VERY commonly used feature of many Websites. Consequently, the questions I advised you to ask your hosting provider are equally VERY common. Find your hosting provider’s tech support forums, FAQ, knowledge base, or (last option) tech support e-mail, and pose my questions (below for reference).

    Is sendmail installed and available for your use? If so, is your site configured to allow scripts to access sendmail? Some servers prevent that as a security precaution.

    You asked:

    Are there any free hosts it works with?

    WordPress.com (not .org, which is this site) offers free WordPress blogs.

    Hi,

    I struggled a bit with the same problem, or at least similar. WP wouldn’t send any emails, and I checked that sendmail was working etc. I’m using WP 2.3.1 on a Linux distro.

    In my case, I finally narrowed the problem to wp-includes/class-phpmailer.php. On lines ~434-435 you should find this:

    $params = sprintf(“-oi -f %s”, $this->Sender);
    $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, $header, $params);

    It seems that there’s a problem with $params. I removed $params from the mail() function and now my mails get sent again:

    $params = sprintf(“-oi -f %s”, $this->Sender);
    $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, $header);

    Don’t know why, I think I’ll leave that to someone else. My guess would be that there’s something gone awry in WP’s sendmail config.

    Hope this works for you as well.

    EDIT: Oh, and do remember that all good children make backups if they decide to mess around with the code ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Registration E-Mail’ is closed to new replies.