The answer is probably SOL but throwing it out there..
I run an Apache Webserver on a home PC. I recently switched ISPs (to Verizon Fios). I've found that they block port 25 and 587. Is there any other way to get the Contact Us php page to work other than the current method when ports are being blocked? I think the only option I have with Verizon is switching to their business accounts which for the cost is not something I plan on doing.
Maybe try port 2525?
I found a port I can use, but the smtp server requires authentication. I see some commented out lines in sendemail.php for using authentication. What lines would I need to edit and is there anything else I'd need to do?
I messed around with uncommenting the lines and I was able to get this piece working! So now my dillema is how can I massage bracket.php to use the same workaround so that when users submit their entry to me we get an email copy?
The part of code I'm referring to from sendmail.php is this:
$mail = new PHPMailer();
$mail->From = $email;
$mail->FromName = $name;
$mail->Subject = "Website Contact Form";
$mail->Body = $comments;
// GMAIL STUFF
$mail->Mailer = "smtp";
$mail->Host = "mymailserver";
$mail->Port = 587;
$mail->SMTPSecure = "";
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = "xxxxx"; // SMTP username
$mail->Password = "xxxx"; // SMTP password
Appreciate any help with this!
Log in to post a comment.