Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Bug in sendmail_include.php

Asked Modified Viewed 1,555 times
T
tjeh
T
tjeh 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

I updated to the latest Version of phpfusion. After that new members were not able to register to my site. Even though I had entered my SMTP details correctly emails were not sent!

So I looked at the old sendmail_include.php from the prior version of phpfusion.

The New says:

if ($settings['smtp_host']=="") {
      $mail->IsMAIL();
   } else {
      $mail->IsSMTP();
      $mail->Host = $settings['smtp_host'];
      $mail->SMTPAuth = false;
      $mail->Username = $settings['smtp_username'];
      $mail->Password = $settings['smtp_password'];
   }


but it should be:

if ($settings['smtp_host']=="") {
      $mail->IsMAIL();
   } else {
      $mail->IsSMTP();
      $mail->Host = $settings['smtp_host'];
      $mail->SMTPAuth = [u][b][color=red]true[/color][/b][/u];
      $mail->Username = $settings['smtp_username'];
      $mail->Password = $settings['smtp_password'];
   }


having changed this. Everything works perfectly now. If it is not a "bug" then there should be an option to change the value in the admin panel.

regards,

tjeh
0 replies
There are no post found.

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet