Upcoming Events
NYC CiviCRM Meeting - March 2010
March 16th, 2010
This next NYC meetup will feature a case study (TBD), group discussions and a (more...)
San Francisco CiviCRM Meetup - March 2010
March 24th, 2010
Come meet others from the Bay Area who are interested in, using or developing (more...)
Campaigning Camp in Oxford, UK
March 25th, 2010
Free (with lunch and tea break included!) CiviCRM/Drupal and Plone two-track (more...)
CiviCRM Seminar - Dublin
March 25th, 2010
MTL Software Solutions are hosting a free seminar at The IBOA, Stephen
St (more...)
CiviCRM User Training - Atlanta (pre NTC)
April 7th, 2010
This full-day hands-on training session is aimed at non-profit staff and (more...)
Configuring, Customizing and Extending CiviCRM - San Francisco (before DrupalCon SF)
April 18th, 2010
This hands-on 1-day training session is targeted at administrators, integrators (more...)
CiviCRM User Training - San Francisco (before DrupalCon SF) This full-day hands-on training session is aimed at non-profit staff and (more...)
April 18th, 2010
CiviCon San Francisco 2010
April 22nd, 2010
Join us for the first ever CiviCon in San Francisco this April! CiviCon brings (more...)
CiviMail: PHP return channel solution coming in CiviCRM 2.2
- Not Just a Contact Database
-
These optional components give you more power to connect and engage your supporters.

civiCONTRIBUTE
Online fundraising and donor management.

civiEVENT
Online event registration and participant tracking.

civiMEMBER
Online signup and membership management.

civiMAIL
Personalized email blasts and newsletters.

civiREPORT
Report generation and template management.
I’m happy to report a PHP counterpart to imap2soap is coming in CiviCRM 2.2, so the handling of CiviMail’s return channel should be much easier in the future (ideally as simple as setting up a cronjob).
There are also other CiviMail improvements and changes in 2.2 (kudos to U.S. PIRG for their sponsorship!) which I plan to unveil in upcoming post(s), but let’s concentrate on the return channel for now.
The solution will be based on UI-configurable mail sources, and the idea is that every now-and-then – depending on your cron settings – the CiviMail processor will poll the source and take care of all the emails found there, either by processing them or ignoring. The processing will be done by using local API calls, so will also work on PHP installs lacking the SOAP support.
In the case of IMAP accounts, the emails from Inbox will be moved to either CiviMail.processed or CiviMail.ignored folders. In the case of POP accounts and local Maildirs, the emails from the account/dir will be moved to you CiviCRM’s files/civicrm/custom’s subdirectories.
For the adventurous CiviMail users who would like to try this solution on their CiviCRM 2.1 installs, please contact me in this forum thread – but do keep in mind that this will require editing some files (as there’s no UI for the account configuration yet).







Comments
POP, is it worth it?
Is it really worth it to develop support for POP? I think that it would add a great deal of complexity, and I have yet to find a mail server that supports POP but not IMAP. The reverse is however common.
--
Dave Hansen-Lange
Web Developer
Advomatic LLC
http://advomatic.com
Hong Kong office
As you can see from the
As you can see from the implementation, POP support isn’t that hard, given that ezComponents abstracts most of POP/IMAP/mbox differences out.
Very cool
That sounds great. I just ran into a situation where I would like full CiviMail capabilities on one install but it's on a SOAP-less server. I will see if I can use it as a test case.
I want to try it now. Google Apps?
I would LOVE to try the solution on my 2.1 install! Think it would work with Google Apps IMAP?
Thanks for the great news!
GMail support
To make it work with GMail’s IMAP/POP, you’d have to make CiviMail send to localpart+-prepended addresses (this requires hacks in three places) and edit the bin/CiviMailProcessor.php in one place (the $localpart variable).
This will be properly (i.e., UI-wise) implemented in CiviCRM 2.2.
Great!
I will try it both on a Google Apps account and a normal web host linux email server. I don't care about GIU - I can edit whatever files you tell me to and hack it till it's smooth. Just let me know the hacks: I want to experiment with this. Thanks!
It would be best if you
It would be best if you joined the forum thread at http://forum.civicrm.org/?topic=5220 for further discussion. :)