CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Using Gmail account for bounce handling
Pages: [1]

Author Topic: Using Gmail account for bounce handling  (Read 1929 times)

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Using Gmail account for bounce handling
July 07, 2011, 10:18:02 am
I am trying to use a Gmail account to do the bounce handling in CiviCRM 3.4. I am able to send emails but when I try to process the bounced messages by running
Code: [Select]
http://example.org/sites/all/modules/civicrm/bin/EmailProcessor.php?name=username&pass=password&key=your_site_install_keyI get the following:
Code: [Select]
An error occured while sending or receiving mail. Failed to connect to the server: imap.google.com:993.My settings are as such:
Quote
Server: imap.google.com
Username: username@gmail.com (I've tried this with @gmail.com and without)
Password: password
localport: username+
email domain: gmail.com
Protocal: imap
Use SSL: Yes
Used for: Bounce processing
Any thoughts on what could be causing this?

Thanks

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Using Gmail account for bounce handling
July 07, 2011, 10:53:09 am

1. try using: imap.gmail.com

2. if that fails, most likely your hosting provider is not allowing  access to that port from your server.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Re: Using Gmail account for bounce handling
July 07, 2011, 11:53:49 am
That worked. I can't believe that I tried all different variations of each variable with the exception of that one...

Thanks a million!

pennerg

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal
  • MySQL version: 10
  • PHP version: 10
GMAIL - Failed to connect to the server: imap gmail com:993.
September 11, 2011, 08:35:01 am
It seems that I am having a similar problem.  I am trying to connect to the gmail account and it fails with errors.  i have searched the forums and tried different things but can not seem to resolve the problem.  I do not have SSL access to this server.  I contacted the ISP and the said they opened port 993.  I also tried this on a localhosted demo server and had the same errors.

Are there some other settings that are dependent on this?  I am not sure what I am missing.  I should be simple but clearly i am missing something.


URL

domain/sites/all/modules/civicrm/bin/EmailProcessor.php?name=username&pass=password&key=your_site_install_key

Error Message

Sorry. A non-recoverable error has occurred.
Could not connect to MailStore

Error message:

An error occurred while sending or receiving mail. Failed to connect to the server: imap gmail com:993. 


Settings

    Server: imap.gmail.com
    Username: username @ gmail . com
    Password: password
    localport: username+
    email domain: gmail.com
    Return-Path: left blank
    Protocal: imap
    Source: left blank
    Use SSL: Yes
    Used for: Bounce processing

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Using Gmail account for bounce handling
September 11, 2011, 10:44:15 am
Ask them to connect to the server and try to connect to imap.gmail.com:993

They might have open the port to enter (so the rest of the world can connect to your machine) but not the other way around (that's what you need, being able to connect to outside)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

pennerg

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal
  • MySQL version: 10
  • PHP version: 10
Re: Using Gmail account for bounce handling
September 11, 2011, 11:57:09 am
Thank you for your reply.  I called the web host again.  Originally when I called they told me they opened the port.  Now they tell me they will not open the port on a shared hosting account.  Looks like I need to find another host.

This also explains why something so simple was not working.

Thanks for helping me.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Using Gmail account for bounce handling

This forum was archived on 2017-11-26.