cancel
Showing results for 
Search instead for 
Did you mean: 

EmailFolder Handler

accesdeb
Champ in-the-making
Champ in-the-making
i recently  worked with the receipt of emails using the internal alfresco smtp server, but I found a problem, and that by sending an email SMTP server receives the same email several times, someone has had any similar problem? .. I'm using version 3.4.d.. this is a fragment from my code:



public class FolderEmailMessageHandler  extends AbstractEmailMessageHandler {
   @Autowired
   private FileFolderService fileFolderService;

@Override
    public void processMessage(NodeRef nodeRef, EmailMessage message)
    {
     ..do something
    }
.. more things
}


any suggestions ?
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
There were a few changes made to the email handlers for 4.0.d.   Perhaps that is what is causing your problem.  

However you will need to find and provide more details.   I suggest that you turn on logging to see what's going on.

And also add logging to your code if it does already have it.

accesdeb
Champ in-the-making
Champ in-the-making
There were a few changes made to the email handlers for 4.0.d.   Perhaps that is what is causing your problem.  

However you will need to find and provide more details.   I suggest that you turn on logging to see what's going on.

And also add logging to your code if it does already have it.


im logging, and i suppose all works fine, logs are fine, the only one detail is .. i receveid an email, but.. 1 minute later ( note: im debbuging ), this same email is re-entering on my method ..
i guess that handler "AbstractEmailMessageHandler" , is bugged but i can not find anything about it .