Jump to content
ListMessenger Support Forum
Sign in to follow this  
sama

Phpmailer Smtp Error: Could Not Connect To Smtp Host/

Recommended Posts

Can anyone help me with PHP mailer....

I am getting the following errors when I make the following changes:

 

<<<php doc>>>

//$mail->SMTPSecure = "tls/ ssl";

$mail->Host = "smtp.mweb.co.za"; // SMTP server

$mail->Port = 25;

 

<<<<php.ini>>>

SMTP = smtp.mweb.co.za

; http://php.net/smtp-port

smtp_port = 25

 

"Mailer Error: SMTP Error: Could not authenticate"

 

OR

 

<<<php doc>>>

$mail->SMTPSecure = "tls/ ssl";

$mail->Host = "smtp.mweb.co.za"; // SMTP server

$mail->Port = 465;

 

<<<<php.ini>>>

SMTP = smtp.mweb.co.za

; http://php.net/smtp-port

smtp_port = 465

 

"SMTP Error: Could not connect to SMTP host"

 

---------what I see from my outlook------------

MS Exchange server: outlook.jmc.local

Proxy server for Exchange: https://owa.hmc.mweb.co.za

 

---------my companies emails are hosted at wmeb--------------

 

But it does work with my gmail account, please help me!!!!!!!!

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...