I don't know what I'm doing wrong.
I've set up the email account.
Added to Mailhandler mailboxes. Connection test is successful and says there are messages.
Feed Importer using Mailhandler fetcher.
I've mapped the title of the node to 'from' (for the sake of testing).
I go to to import page for my importer, select the mailbox I created and click import.
Log says "Mailbox Import Nodes From Email was checked and contained 1 messages."

Did I forget something? Every time I try to import it says there are no new nodes.

Comments

devilworks’s picture

Have you create Mailhandler source content?
You need to create Mailhandler source content for import to work.

ErnestoJaboneta’s picture

I logged in this morning and suddenly it wants to work. There were 3 nodes created by cron and now when I click import, it actually does.

But since you asked, I did create a Mailhandler Source node but the only field available is the title. How is this supposed to be set up?

saccard’s picture

You must first create at least one Feed. After this you will see this Feed in your Mailhandler Source node

play4quarters’s picture

Hi,

I'm having the exact same issue that was outlined at the top of the thread.

I think perhaps, my confusion might be the difference between the Mailhandler content type, and the node content type I'd like to import into.

Same symptoms...mailbox setup validates that there is mail there etc....nothing getting imported through feeds apparently, and turned into nodes.

I'm sure this is something boneheaded I'm missing, but I'd appreciate an assist if anyone is willing.

Thanks much!

danepowell’s picture

Do you know if you attached the Mailhandler Feeds importer to a content type? If so, then imports will run automatically on cron. If not, then you must manually import content by going to $base_url/import

I suggest enabling the Mailhandler quick-start module and following the relevant section in the INSTALL.txt, if you haven't already.

play4quarters’s picture

Hi.

Thanks for your reply. No luck so far, I think I'll try setting it up with a different email provider to see if that helps.

Again, I appreciate you getting back to me with suggestions. Thank you!

danepowell’s picture

Status: Active » Postponed (maintainer needs more info)

This thread has started to wander a bit- I can't tell who's having what issues.

Is anyone still having problems? If so, please try upgrading to 7.x-2.5 first and then post a concise summary of your problem. Thanks.

Busybee’s picture

The same issue as described at the top. A message from Test mailbox comes fine but real message does not.
Mailhandler is 7.x-2.5
When attempting to import messages the next record appears at the Drupal Log:
'Mailbox mailreg@holtec.kiev.ua was checked and contained 1 messages. '
Also getting a php warning:
'Strict warning: Declaration of MailhandlerPhpImapRetrieve::retrieve() should be compatible with that of MailhandlerRetrieve::retrieve() in require_once() (line 10 of /usr/local/www/docman/sites/all/modules/mailhandler/modules/mailhandler_php_imap/plugins/mailhandler/retrieve/MailhandlerPhpImapRetrieve.class.php).'

rajeevk’s picture

Version: 7.x-2.4 » 7.x-2.5

Hello Dane,

I am using 7.x-2.5 & everything is set up.

My mailhandler mailbox is connecting to the mail id given by me and giving me the number of mails also.

But it's not importing the node.

At some places in the document it has been written by some person to set "Default commands". I can't find this area anywhere in the module setting.

Can you please help?

Thanks,

danepowell’s picture

@Rajeevkr - please stop hijacking issues. Read the INSTALL.txt, search the issue queue, and open a new issue if necessary.

danepowell’s picture

Title: How to set up? » Misc problems

@Busybee - sorry about that, I think I accidentally introduced those warnings with a recent commit. They should be fixed by the commits below. Please try the latest 7.x-2.x-dev from Git (or download the package that rolls tonight) and let me know if that helps.

http://drupalcode.org/project/mailhandler.git/commit/0c7dcdc
http://drupalcode.org/project/mailhandler.git/commit/303bcf3

Busybee’s picture

Dane Powell, thank you - that warning regarding MailhandlerPhpImapRetrieve has gone.

Busybee’s picture

Title: Misc problems » One more strict warning

This appears when importing messages

Strict warning: Only variables should be passed by reference in MailhandlerAuthenticateDefault->authenticate() (line 12 of ..../sites/all/modules/mailhandler/plugins/mailhandler/authenticate/MailhandlerAuthenticateDefault.class.php).

danepowell’s picture

Status: Postponed (maintainer needs more info) » Fixed

As far as I know, all of these problems should be fixed in 7.x-2.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

additional information