Skip to:
Content
Pages
Categories
Search
Top
Bottom

No Emails Being Sent – Anyone solve this yet?


  • jpatrickm
    Participant

    @jpatrickm

    I just did a new installation and none of the email functionality is working… new user registration password email, password reset email etc. I’ve gone through any old posts on this forum that discuss this issue and I still don’t see any resolution… I’ve done the email patch plugin and made edits to the pluggables.php file wherever suggested but nothing. So I thought I’d make one final attempt to see if anyone has resolved this issue yet. I *think* the cause might be due to the installation being on an IIS server… unfortunately, that’s the only option I have at this point.

    I’d really like to use bbpress but without this email functionality, it’s pretty much useless.

    Any new thoughts would be appreciated.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

  • chrishajer
    Participant

    @chrishajer

    It probably is due to being on a IIS server. We were able to get this working with SwiftMailer and an external SMTP server. What exactly did you try to get this working? Please post the URLs of what you tried. Thanks.

    You could avoid emailing the password by displaying it upon account creation, or letting the user select their own password.

    https://bbpress.org/plugins/topic/instant-password/

    ATM I can’t find the plugin I thought existed to just display the password rather than email it.

    Hi Chris,

    I have tried SwiftMailer and SMTP server (of gmail)… not helped me..

    Please any new ideas…. I am still facing the same old issue….

    FYI….IIS7 is my server hosting at remote location


    _ck_
    Participant

    @_ck_

    Hi tried……

    But, nothing worked..

    ..

    This is what I made…

    Does this works…

    ………………………………………………………………………………………………………………………………………

    if ( !function_exists('bb_mail') ) {
    function bb_mail($to, $subject, $content, $headers=''){

    require_once('PATH_TO/Swift/lib/Swift.php');
    require_once('PATH_TO/Swift/lib/Swift/Connection/SMTP.php');

    $swift =& new Swift(new Swift_Connection_SMTP("smtp.gmail.com",587));
    $smtp->setUsername("telecomdiary.forums");
    $smtp->setpassword("xxxxxxx");
    $swift =& new Swift($smtp);
    $from = new Swift_Address("telecomdiary.forums@gmail.com","Telecom Forums | by Telecom Diary");

    $message =& new Swift_Message($subject, $content);
    if ($swift->send($message, $to, $from)) {return true;}
    else{ echo "Message failed to send to ".$to." from ".$from;}
    $swift->disconnect();
    }
    }
    ?>

    …………………………………………………………………………………………………………………………………………………….

    Any replacements require??

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar