vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   trying to use Gmail SMTP servers for vB emails, but it's not working (https://vborg.vbsupport.ru/showthread.php?t=211790)

ps2wiz 09-07-2009 12:41 AM

Quote:

Originally Posted by Fangs404 (Post 1796128)
I just changed it to SSL with port 465, and it worked perfectly.

I am having the same exact problem, but how do I change it to SSL from TLS?

ENF 09-09-2009 11:51 PM

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.

final kaoss 02-10-2010 12:17 AM

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
Some sendmail servers may require the '-f' parameter to be sent with email calls from PHP. If you are having problems with users not receiving email, try enabling this option. In all likelihood, your problem will not be caused by this setting.

This setting does not work when PHP SAFE MODE is enabled.

I just recently changed my email settings as described in this thread, will the system still go crazy and try to say the mail is being sent from x10 this way?

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:

Database error in vBulletin :

mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: #07000(proxy) all backends are down
/home/---------/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Tuesday, February 9th 2010 @ 11:45:13 PM
Error Date : Tuesday, February 9th 2010 @ 11:45:13 PM
Script : http://vgchat.info/forum/
Referrer : http://vgchat.info/******************
IP Address : *************
Username :
Classname : vB_Database
MySQL Version :
Is it sending this error message from a different account because the db is down? How to fix this?

Marco van Herwaarden 02-11-2010 06:39 AM

Quote:

mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: #07000(proxy) all backends are down
I must admit that i have never seen this error message before. What it does show me is that you are using pconnect. In most cases this should not be used and you hsould try to disable it in your config.php.

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.

vbreal 03-02-2010 03:05 PM

Quote:

Originally Posted by EtherNetFreak (Post 1882343)
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.

587 returned errors for me.

465 worked great

thanks for this thread peeps it helped a great deal.

egclive 03-24-2010 02:22 PM

dont even bother with that just use google apps

jet rex 11-04-2010 01:23 PM

come back to your Gmail account in browser -and pass test verification code (sms or phone)

mathias 11-18-2010 05:31 AM

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.

ehsanix 12-04-2010 03:29 PM

:(

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

josantos 01-08-2011 04:57 PM

Quote:

Originally Posted by ehsanix (Post 2129240)
:(

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

I have the same error but with another emailserver


All times are GMT. The time now is 01:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01786 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete