![]() |
trying to use Gmail SMTP servers for vB emails, but it's not working
I originally posted this in General, but it wasn't getting any attention, and I can't bump that thread, so I thought I'd put it in here where it probably should've been originally (oops).
I'd like to use Gmail's SMTP server to send all forum emails because we've been having some issues sending emails. A lot of free servers will accept them from our server (like Gmail and Yahoo!), but most school and business email addresses never get the email confirmation sent to them. I figure that using Gmail's SMTP server will fix this, but it's just not working. Here're the settings we're using: SMTP server: smtp.gmail.com port: 465 SMTP username: [username]@gmail.com password: [password] SMTP secure connection: TLS When running the diagnostic, there's a delay of about 30 seconds, and then we get this error: Quote:
|
Quote:
change this Quote:
|
SSL requires a different port, though. According to http://mail.google.com/support/bin/a...n&answer=13287 I need to use port 995 for SSL. I tried that, and I get the same error.
Any idea? |
Can you check the mail logs on the server?
|
Quote:
dont understand the error but i have the same setup and its working fine on my board.makes sure you comment out in php.in the openssl extension. |
Quote:
Maybe try a telnet on Gmail's 465 port sending it a HELO to see if SSL is offered or if they only offer TLS / Starttls |
Quote:
|
im having same problem
|
Did you read the responses?
|
yes but either way it fails i dont get an email
|
Quote:
|
Just noticed this thread:
Not sure what exactly people have or have not done, but here is our settings that work for us. 1) PHP Make sure OpenSSL is uncommented. (In other words, it's loading in PHP) 2) vBulletin Mail Settings (AdminCP → vBulletin Options → Email Options) SMTP: Yes SMTP Host: smtp.gmail.com SMTP Port: 587 (Can be 465 or 587, one should work) SMTP Username: youraccount@googledomain.com (Gmail or Google Apps account) SMTP Password : youraccountpassword SMTP Secure Connection: TLS (This information from Google was used to set this up when we first started: http://mail.google.com/support/bin/a...n&answer=13287) This setup has worked for us for a long-time without any hassles. We do have our mail hosted through the Google Apps system. |
K im using gmail as described here, should this be on or off? (in before the "what host are you using") I'm at x10hosting.com free plans.
Code:
Enable '-f' Parameter I've noticed that what's doing it is.. everytime the mysql server goes down, vb sends me an email wanting to tell me about it, and for every person who visits, it spits out another email --------------- Added [DATE]1265777996[/DATE] at [TIME]1265777996[/TIME] --------------- OK, just ran a test and it sends all email fine EXCEPT these Quote:
|
Quote:
The error emails are sent from your technical email address as defined in your config.php. It does not matter if the database is online or not when sending these messages. |
Quote:
465 worked great thanks for this thread peeps it helped a great deal. |
dont even bother with that just use google apps
|
come back to your Gmail account in browser -and pass test verification code (sms or phone)
|
You think google will allow me to do this with over 400k users?
--------------- Added [DATE]1290122614[/DATE] at [TIME]1290122614[/TIME] --------------- big problem gmail limits to 500 sends a day. |
:(
what this eror Warning: fsockopen() [function.fsockopen]: unable to connect to tcp://smtp.gmail.com:465 (Connection timed out) in [path]/includes/class_mail.php on line 743 |
Quote:
|
Do you have ssh access to your server, if you do, see if you can telnet to the smtp server
telnet smtp.gmail.com 465 |
Is it better to set up vbulletin to use gmail? I just have it using my server for email right now. What is best and why?
|
Quote:
|
Quote:
Jake |
Quote:
|
All times are GMT. The time now is 05:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|