MyBB Community Forums

Full Version: Need help with SMTP setup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I tried to setup a small forum on my laptop with WAMP. I live on campus of a university, so I don't exactly have a domain for the forum. The server will most likely be turned off by the time I write this post. Anyways, my problem is that I can't seem to get the SMTP mail working. I've been looking on the forum for posts like this and they all have different answers regarding the specific set up. But I tried pretty much everything and I still can't get verification mail to sent. Is there a way to test this like the one? Do you think that my school might have blocked the port or something?

Mail handler: SMTP mail
SMTP hostname: tls://smtp.gmail.com
SMTP port: 465
SMTP username: ****@gmail.com
SMTP password: *****
SMTP Encryption Mode: No encryption
Mail Logging: Log everything
Add message ID in mail headers: No
Try hostname as "smtp.gmail.com"
and SMTP Encryption Mode as "TLS encryption"
I tried it before and I got an error instead. But I tried again and I still got the same error.
[Image: w003gj.jpg]
I did a little research on this, apparently, if I was to increase the max execution to a higher number say 90, the error would go away. As a programmer, I have a feeling that this would not be the solution as there might be an infinite loop.
It is possibly timing out waiting for the response from the SMTP server.

Does using SSL instead of TLS do anything?
The port for TLS is 587, port 465 is for SSL.
I tried using TLS and SSL in according to their specific ports and no error this time and I got a message on the board saying that the confirmation email has been sent. But I don't have it in the email. Any idea how to check what went wrong?
Is there anything in your php or apache error logs?

Try this. I am using SMTP with google with these settings

smtp.googlemail.com
port 465
SSL encryption
username - [email protected]
password
I currently don't have a php error log. From the apache error log
[Tue Mar 25 20:24:11.760575 2014] [mpm_winnt:notice] [pid 5604:tid 392] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Mar 25 20:24:13.760577 2014] [mpm_winnt:notice] [pid 6292:tid 284] AH00364: Child: All worker threads have exited.
[Tue Mar 25 20:24:13.810577 2014] [mpm_winnt:notice] [pid 5604:tid 392] AH00430: Parent: Child process 6292 exited successfully.
[Tue Mar 25 20:24:16.191581 2014] [mpm_winnt:notice] [pid 2712:tid 392] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Tue Mar 25 20:24:16.191581 2014] [mpm_winnt:notice] [pid 2712:tid 392] AH00456: Server built: Feb 22 2013 22:08:37
[Tue Mar 25 20:24:16.191581 2014] [core:notice] [pid 2712:tid 392] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Tue Mar 25 20:24:16.201581 2014] [mpm_winnt:notice] [pid 2712:tid 392] AH00418: Parent: Created child process 7112
[Tue Mar 25 20:24:16.741582 2014] [mpm_winnt:notice] [pid 7112:tid 284] AH00354: Child: Starting 150 worker threads.

That's the only thing I got after a fresh restart. I don't think the problem lies with that. (maybe I'm wrong).
I also tried the SMTP settings that you provided and again, no error in sending it (Your activation email has been sent successfully) but I don't see it anywhere in my inbox.
Check the outbox of the account you are sending it via, does the email appear there?
Unfortunately I don't see them in the outbox either. I believe I have the correct settings for Gmail as well. I'm also sure that my email and password in SMTP setting is also correct.
[Image: 142ftxh.jpg]
Pages: 1 2