Author Topic: 1.5.0 - mail module - smtp and pop3 errors  (Read 4512 times)

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
1.5.0 - mail module - smtp and pop3 errors
« on: August 10, 2009, 10:37:33 am »
I have configured a Google Apps based account in oGoo's mail module.
All settings are apparently correct (adress / username, password, SSL authentication, port 587 for SMTP and 995 for pop3).

Here's what happens.

POP3
Incoming mail is retrieved but, strangely enough, the Inbox folder remains empty. That is to say, it displays a jS pop up warning that the massage has been received correctly but then nothing is in the inbox.

SMTP
It spits a pop up error box saying that the message could not be sent.
/cache/php.log reveals the follwing details:
Quote
#1 ERROR: Error: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: SSL operation failed with code 1. OpenSSL Error messages:
    error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in '/var/www/opengoo.bittingbits.com/opengoo/library/swift/lib/Swift/Connection/SMTP.php' on line 149 (error code: 2)
#2 ERROR: Error: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: Failed to enable crypto in '/var/www/opengoo.bittingbits.com/opengoo/library/swift/lib/Swift/Connection/SMTP.php' on line 149 (error code: 2)
#3 ERROR: Error: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to ssl://smtp.gmail.com:587 (Unknown error) in '/var/www/opengoo.bittingbits.com/opengoo/library/swift/lib/Swift/Connection/SMTP.php' on line 149 (error code: 2)
Time since start: 0.270404100418 seconds
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: 1.5.0 - mail module - smtp and pop3 errors
« Reply #1 on: August 11, 2009, 03:54:05 pm »
hi,

pop3: does this message appears in sent folder?
if not, this is a bug fixed for 1.5.1.

smtp: try using port 465 to make the connection.

regards

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: 1.5.0 - mail module - smtp and pop3 errors
« Reply #2 on: August 11, 2009, 05:21:27 pm »
Port changed to 465 and voilá, problem solved.

Pure bliss!
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

Number8

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
Re: 1.5.0 - mail module - smtp and pop3 errors
« Reply #3 on: August 22, 2009, 02:31:15 pm »
I am having similar problems trying to retrieve email from my domain that has  Google Apps attached to it.
The Google config instructions are here: http://mail.google.com/support/bin/answer.py?hl=en&answer=13287

Is there something in there that OG 1.5.2 doesn't support?
pop.gmail.com   ssl port 995

Error message in log.php:
unable to connect to ssl://pop.gmail.com:995 (Connection timed out) in '/home/xxx/public_html/collab2/library/PEAR/Net/Socket.php' on line 136 (error code: 2)
Time since start: 3.3537068367004 seconds

Note:  I configured Thunderbird to work with pop.gmail.com.
« Last Edit: August 22, 2009, 02:42:18 pm by Number8 »

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: 1.5.0 - mail module - smtp and pop3 errors
« Reply #4 on: August 24, 2009, 06:25:28 pm »
I have configured GMail POP3 successfully, using this data:

Code: [Select]
Server: pop.gmail.com
Use SSL for incoming email connection checked
SSL port: 995

SMTP server: smtp.gmail.com
SMTP server port: 465
Secure connection: SSL

I have also configured IMAP access successfully, changing Server to imap.gmail.com and SSL port to 993


Number8

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
Re: 1.5.0 - mail module - smtp and pop3 errors
« Reply #5 on: August 24, 2009, 07:11:02 pm »
Thanks for the reply, but it still doesn't work.
Account name:  name
Email address: name@server.net
Account ID: name@server.net
POP3 SSL
Port 995

smtp.gmail.com
465  Use incoming authentication
SSL

 

anything
anything