Can't Connect to Network in Phpmailer, sMTP Error


0 votes
asked Mar 16, 2016 by gur212 (850 points)
I've been trying to implement SMTP with PHPMailer for about week now.

4 Answers

0 votes
answered Jun 3, 2016 by What_1559 (780 points)
 
Best answer
I extracted the below code from PHPMailer SMTP -> ERROR: Failed to connect to server ... and added the license on top
It is always good practice to set the unused variable to null
0 votes
answered Apr 18, 2016 by pritchet6878 (330 points)
I have tried using http://www.experts-exchange.com/questions/26601010/PHPMailer-Problem-SMTP-Error-Could-not-connect-to-SMTP-host.html here in which this gives me blank white page
Just add the jars and you should see no errors in console during tomcat start up
0 votes
answered Apr 29, 2016 by Falterman (170 points)
I think there are three different aspects of this problem that you test
For more information, see SMTP Error: Could not connect to SMTP host. [#1238898 ...
commented Apr 29, 2016 by hfv4657 (240 points)
I had this problem with this exact activity. Others have commented about flow
commented Apr 29, 2016 by Brunkhor (100 points)
Summary what I have found from this thread and other solutions
0 votes
answered Jun 3, 2016 by pbq_3643_i (1,050 points)
I just came to this page in search of an answer to the same question

Related questions

0 votes
0 answers
0 votes
4 answers
asked Mar 16, 2016 by Ba862 (770 points)
+1 vote
0 answers
–1 vote
4 answers
0 votes
5 answers
asked Feb 23, 2016 by ncc1124br (810 points)

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...