Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Gmail SMTP problem.

Asked Modified Viewed 4,966 times
M
macher
M
macher 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

I have setup my php-fusion like this:

ncludes/phpmailer_include.php:
........
var $Port        = 465;
.........
var $SMTPAuth     = true;


if (preg_match('#(([a-z]+://)?[^:]+):(\d+)#i', $hosts[$index], $match))
{
   $host = $match[1];
   $port = $match[3];
}
else
{
   $host = $hosts[$index];
   $port = $this->Port;
}


includes/smtp_include.php:

var $SMTP_PORT = 465;
.............
function get_lines() {
        $data = "";
        while($str = @fgets($this->smtp_conn,515)) {
            if($this->do_debug >= 4) {...


SMTP Host: ssl://smtp.gmail.com
And I have this error:
Warning: fsockopen() [function.fsockopen]: SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /homez.109/undergroh/www/includes/class.smtp.php on line 122

Warning: fsockopen() [function.fsockopen]: php_stream_sock_ssl_activate_with_method: SSL handshake/connection failed in /homez.109/undergroh/www/includes/class.smtp.php on line 122

Warning: fsockopen() [function.fsockopen]: failed to activate SSL mode 1 in /homez.109/undergroh/www/includes/class.smtp.php on line 122
0 replies

2 posts

H
hame
H
hame 10
  • Senior Member, joined since
  • Contributed 423 posts on the community forums.
  • Started 44 threads in the forums
answered
Senior Member

Check
/includes/class.smtp.php on line 122
may be you missed a a small ' or something.
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Hame, that a worthless answer.

Macher, why do you have this coded in the first place?
0 replies

Category Forum

Installation Issues - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
H
H
hame 10
  • Senior Member, joined since
  • Contributed 423 posts on the community forums.
  • Started 44 threads in the forums
M
M
macher 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet