MyBB Community Forums

Full Version: Unable to connect to the mail server with the given details.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

I entered the following details in MyBB:

Mail handler: SMTP mail
SMTP hostname: smtp.live.com
SMTP port: 25
SMTP username: [email protected]
SMTP password: *******
SMTP Encryption Mode: TLS
Add message ID in mail headers: Yes

However, it gives me this error:
Unable to connect to the mail server with the given details. Reason: 0:

BUT - I used the same details on phpMailer, and it works, here, my phpMailer config:

    $mail = new PHPMailer();
    $mail->IsSMTP(); // set mailer to use SMTP
    $mail->Host     = "smtp.live.com"; // specify main and backup server
	$mail->Port     = "25";
    $mail->SMTPAuth = true; // turn on SMTP authentication
	$mail->SMTPSecure = "tls";
    $mail->Username = "[email protected]"; // SMTP username
    $mail->Password = "*******"; // SMTP password
    $mail->From     = "[email protected]"; //do NOT fake header.
    $mail->FromName = "Name";

I know, phpMailer has nothing to do with MyBB, but phpMailer works - with exact the same details?
My mails are running over the live.com smtp servers because I added my domain to live. (http://domains.live.com)

Any idea why it's not working?
Did you try contacting your host?
(2013-07-23, 02:24 PM)Arbaz Wrote: [ -> ]Did you try contacting your host?

I'm using phpMailer on the same host, so that shouldn't be the problem.
Bump?
I really need this fixed. Sad
fsockopen seams to fail without any valid error message. Possibly there is a problem with the encryption but I could be wrong.