I have a small problem which I cannot figure out, but taking my chances with you here. I have the same php script installed on my laptop and on a desktop. If it runs from the laptop, mail goes out and received. If I send it from the desktop, I get a SMTP Error: Could not authenticate notification along with Warning: Cannot modify header information - headers already sent .....
Below is part of the script. Can someone shed some light why one would work and not the other if both are configured the same. Thank-you in advance.
$mail->Host = "smtphm.XXXXXX.XX";
$mail->SMTPAuth = true;
$mail->Username = "XXX";
$mail->Password = "XXXX";
$mail->From = "webmaster@XXXX.XX";
$mail->WordWrap = 50;