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 »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • PHP-based solution for the return channel
Pages: 1 2 [3] 4 5

Author Topic: PHP-based solution for the return channel  (Read 36107 times)

nocabt

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 1
Re: PHP-based solution for the return channel
December 17, 2008, 11:31:48 pm
Hi,
I got this working, accept I still get this error when running the CiviMail Processor:

connecting to SSLMAILSERVER.com and authenticating as USER+DOMAIN.org retrieving message 1 retrieving message 2 retrieving message 3 retrieving message 4 retrieving message 5 retrieving message 6 retrieving message 7 retrieving message 8 fetching message 1 and putting it in the ignored mailbox fetching message 2 and putting it in the ignored mailbox fetching message 3 and putting it in the ignored mailbox fetching message 4 and putting it in the ignored mailbox fetching message 5 and putting it in the processed mailbox
Fatal error: Call to undefined method ezcMailMultipartRelated::getParts() in /home/user/public_html/administrator/components/com_civicrm/civicrm/bin/CiviMailProcessor.php on line 79

Thanks!

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: PHP-based solution for the return channel
December 18, 2008, 08:13:16 am
Quote from: nocabt on December 17, 2008, 11:31:48 pm
Fatal error: Call to undefined method ezcMailMultipartRelated::getParts() in /home/user/public_html/administrator/components/com_civicrm/civicrm/bin/CiviMailProcessor.php on line 79

I assume you’re using it with CiviCRM 2.1 (can you please update your forum profile with what you’re using)?

Is there a chance you can forward me the questionable email (to shot@civicrm.org)?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

aaronmaldonado

  • Guest
PHP-based solution for the return channel - ERROR
February 01, 2009, 11:01:59 pm
Hi,
I'am testing this php-based solution but everytime I run the script I get this errror:

URL: http://www.MYSITEHERE.com/test/sites/all/modules/civicrm/bin/CiviMailProcessor.php?name=MYUSERHERE&pass=MYPASSHERE&key=MYKEYHERE

connecting to mail.mailhere.com, authenticating as sitio@mailhere.com and selecting Inbox mailboxes found: INBOX.Sent, INBOX.Drafts, INBOX, INBOX.Trash
Fatal error: Uncaught exception 'ezcMailTransportException' with message 'An error occured while sending or receiving mail. The IMAP server could not create mailbox 'CiviMail.ignored': A0004 NO Invalid mailbox name..' in /home/bmwmoto/public_html/test/sites/all/modules/civicrm/packages/ezc/Mail/src/transports/imap/imap_transport.php:504 Stack trace: #0 /home/bmwmoto/public_html/test/sites/all/modules/civicrm/CRM/Mailing/MailStore/Imap.php(67): ezcMailImapTransport->createMailbox('CiviMail.ignore...') #1 /home/bmwmoto/public_html/test/sites/all/modules/civicrm/CRM/Mailing/MailStore.php(60): CRM_Mailing_MailStore_Imap->__construct('mail.bmwmotomex...', 'mailhere@bmwmotome...', '0000000', true, 'Inbox') #2 /home/bmwmoto/public_html/test/sites/all/modules/civicrm/bin/CiviMailProcessor.php(48): CRM_Mailing_MailStore->getStore() #3 /home/bmwmoto/public_html/test/sites/all/modules/civicrm/bin/CiviMailProcessor.php(146): CiviMailProcessor->process() #4 {main} thrown in /home/bmwmoto/public_html/test/sites/all/modules/civicrm/packages/ezc/Mail/src/transports/imap/imap_transport.php on line 504



Some comments to fix this?!
Thanks!  :P

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: PHP-based solution for the return channel
February 02, 2009, 04:38:01 am
I've only tinkered with this new PHP solution -- no expert.

But it looks like the script is unable to create the required folders in your mail account.

I would begin by making sure that the mail account you're using is setup as an IMAP account, not POP3. If there are no settings in your email control panel to toggle between them, try connecting to the account via a mail client using IMAP. Then try creating the folder manually (looks like the folder name is "ignored"). Then rerun the processor script.

support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: PHP-based solution for the return channel - ERROR
February 02, 2009, 08:00:52 am
Quote from: aaronmaldonado on February 01, 2009, 11:01:59 pm
Fatal error: Uncaught exception 'ezcMailTransportException' with message 'An error occured while sending or receiving mail. The IMAP server could not create mailbox 'CiviMail.ignored': A0004 NO Invalid mailbox name..'

CiviMailProcessor will now try to create sub-Inbox folders. You can try backporting r19545 to your install and let us know whether it works.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

theDigger

  • Guest
Re: PHP-based solution for the return channel
February 11, 2009, 08:55:17 am
Maybe this has been fixed already but I get an error like this:

PHP Fatal error:  Uncaught exception 'Exception' with message 'Unknown protocol 1' in /home/webadmin/protecttheforest.se/html/joomla/administrator/components/com_civicrm/civicrm/CRM/Mailing/MailStore.php:76\nStack trace:\n#0 /home/webadmin/protecttheforest.se/html/joomla/administrator/components/com_civicrm/civicrm/bin/CiviMailProcessor.php(60): CRM_Mailing_MailStore::getStore(NULL)\n#1 /home/webadmin/protecttheforest.se/html/joomla/administrator/components/com_civicrm/civicrm/bin/CiviMailProcessor.php(157): CiviMailProcessor::process(NULL)\n#2 {main}\n  thrown in /home/webadmin/protecttheforest.se/html/joomla/administrator/components/com_civicrm/civicrm/CRM/Mailing/MailStore.php on line 76

Regards,
Nils

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: PHP-based solution for the return channel
February 11, 2009, 01:55:28 pm
Nils,

this is fixed in issue CRM-4026 and is (I think) in the 2.2beta1 release

Ken

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: PHP-based solution for the return channel
February 16, 2009, 02:52:07 am
Just to confirm – yes, this is fixed in CiviCRM 2.2.beta1. If you want just this fix, apply r19509.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

clearlytechnical

  • Guest
Re: PHP-based solution for the return channel
March 03, 2009, 10:50:05 am
Hey Piotr,

Just checking in and seeing where we are at?

I had to cut bait and just use a mailing list server in the meantime as my clients were in need of something right away.

Just wanted to know where we are at and how things are progressing.


Thanks,




Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: PHP-based solution for the return channel
March 04, 2009, 02:11:21 am
As of CiviCRM 2.2, CiviMail Processor should be considered stable and the default/easiest-to-setup handler for the CiviMail return channel.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

clearlytechnical

  • Guest
Re: PHP-based solution for the return channel
November 09, 2009, 11:43:19 am
Ptior,

Could you direct me to the official how-to for the php implementation?

I am running 2.2.6 and I can't fund a GUI version to enable the php return channel method.

Please advise!

If the php model is now working, then this will really allow civic to get to another level in the linux community.

UPDATE: I'm looking here now:
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviMail+Processor



Thanks,


ClearlyTechnical
« Last Edit: November 09, 2009, 11:45:27 am by clearlytechnical »

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: PHP-based solution for the return channel
November 12, 2009, 05:31:18 am
Ok, I’m not sure whether the above link answers your questions – if not, feel free to ask in this thread. :)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

seashell

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
Re: PHP-based solution for the return channel
December 14, 2009, 10:12:50 am
I'm actually using CiviCRM 3.1 alpha, so I'm wondering if the same "Unknown Protocol" issue applies? It seems to break by not finding the default mail server. I've got the protocol set to pop3, but then this error shows that that protocol isn't noticed.


~seashell

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: PHP-based solution for the return channel
December 15, 2009, 06:32:53 am
What’s the exact error that you get?

(If you’re seeing an ‘Unknown protocol’ error, it should have a number, not a name…)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

seashell

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
Re: PHP-based solution for the return channel
December 15, 2009, 06:42:20 am

Fatal error: Uncaught exception 'Exception' with message 'Unknown protocol ' in /var/www/joomla/administrator/components/com_civicrm/civicrm/CRM/Mailing/MailStore.php:83 Stack trace: #0 /var/www/joomla/administrator/components/com_civicrm/civicrm/bin/EmailProcessor.php(74): CRM_Mailing_MailStore::getStore('default') #1 /var/www/joomla/administrator/components/com_civicrm/civicrm/bin/EmailProcessor.php(200): EmailProcessor::process(false) #2 {main} thrown in /var/www/joomla/administrator/components/com_civicrm/civicrm/CRM/Mailing/MailStore.php on line 83


that is the exact error, which we find strange given that it SHOULD have an error # after Unknown Protocol. It seems it's not finding my setting for the protocol at all. THe question I have is.... as I'm using multisites, and therefore the db prefix for my joomla install isn't the default jos_, it's now site1_ or something... would that affect civicrm?


~seashell

Pages: 1 2 [3] 4 5
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • PHP-based solution for the return channel

This forum was archived on 2017-11-26.