Page 2 of 2
Re: mail() working sporadically
Posted: Tue Mar 01, 2011 2:10 pm
by Loougle
John Cartwright wrote:Loougle wrote:ON my contact forms I'm not even using headers, should I be using headers and could that be the reason why I only receive the first few submissions and then not receiving the rest?
Please don't threadjack.
Sorry I have the exact same problem he does, I guess i'll make a brand new thread.
Re: mail() working sporadically
Posted: Tue Mar 01, 2011 2:18 pm
by Weirdan
sleepydad wrote:"Warning: fsockopen() [function.fsockopen]: unable to connect to smtp.gmail.com:465 (Connection timed out) in /home/content/s/l/e/sleepydad/html/kasebergkronies/lib/classes/Swift/Transport/StreamBuffer.php on line 233 ..."
Your hosting provider might be blocking outgoing connections - you'd have to ask them to allow connections to gmail if they do.
Do you have shell access to the hosting server? If you do, try to run 'telnet smtp.gmail.com 465' from the shell prompt and see if it connects.
Re: mail() working sporadically
Posted: Tue Mar 01, 2011 7:36 pm
by sleepydad
I'm on a Go Daddy forum now to try to find out if they're blocking. Hopefully that's not the case or I'm up the creek.