The MU forums have moved to WordPress.org

PHPMailer (6 posts)

  1. bryant77
    Member
    Posted 16 years ago #

    I believe this is a php problem and since the WP community is much better at providing answers that I understand, I hope you don't mind that I post my problem here:
    I can't get smtp to work. I am confused as to what goes where....My host requires I use PHPMAiler and its on a windows box but will not answer any support questions on PHP or WP:

    Here is my error when sending LOST PASSWORD:

    "Possible reason: your host may have disabled the mail() function..."

    1) Do I need the following in php.ini?
    [mail function]
    SMTP = smtp.mydomain.com
    sendmail_from = bryant@mydomain.com

    2) Is this the correct way to setup sendmail.php?
    $YourEmailAddress = 'wordpress @ doi2.com';
    $Yourname = 'Bryant';
    $MailUsername ='wordpress @ doi2.com';
    $MailPassword = 'mypassword';
    $MailServer = 'smtp.doi2.com';
    $mail->SMTPAuth = true;
    $mail->SMTPDebug = 2;

    3) If #2 is correct, then I can only assume the problem is with the path....
    require("phpmailer/class.phpmailer.php");

    Thanks in advance for your support...

  2. bryant77
    Member
    Posted 16 years ago #

    I found the problem... After hours and hours -
    I was using FTP to edit the PHP.INI file setting #1 above over and over. Then I find out PHP.INI is protected and I have to edit the file from their control panel.
    I wish one of the support people would have told me this
    I found out the file was protected by reading a forum suggesting I look at phpinfo which said mail wasn't enabled.

  3. bryant77
    Member
    Posted 16 years ago #

    Well, I guess its going to take a few more hours.
    LOST PASSWORD emails work great to mydomain.com but not to any other email address.
    Any ideas?

  4. SteveAtty
    Member
    Posted 16 years ago #

    that would imply your outgoing email server has no upstream relay, or if you're not set up to use an upstream relay its not actually configured correctly.

  5. bryant77
    Member
    Posted 16 years ago #

    I'm hosted at bulkregister (enom). Is it a problem in my wordpress/php setup or bulkregister?

  6. SteveAtty
    Member
    Posted 16 years ago #

    I have no idea

About this Topic

  • Started 16 years ago by bryant77
  • Latest reply from SteveAtty