Thks Peter, Yes, gmail gives me imaps (i understood that). So, I tried what you mention but I had get the original mesange I posted.
Matias. 2011/3/4 Peter Sturge <peter.stu...@gmail.com> > Hi, > > You need to put your password in as well. You should use protocol="imap" > unless your gmail is set for imaps (I don't believe the free gmail gives > you > this). > > <entity name="email" > user="u...@mydomain.com" > password="userpwd" > host="imap.mydomain.com" > include="" > exclude="" > processor="MailEntityProcessor" > protocol="imap" > /> > > HTH > Peter > > > > On Fri, Mar 4, 2011 at 4:42 PM, Gora Mohanty <g...@mimirtech.com> wrote: > > > On Fri, Mar 4, 2011 at 9:20 PM, Matias Alonso <matiasgalo...@gmail.com> > > wrote: > > > Hi everyone! > > > > > > > > > I’m trying to index mails into solr through DHI (based on the > > > “example-DIH”). For this I´m using my personal email from gmail, but I > > can´t > > > index. > > > > Have not used the MailEntityProcessor with Gmail, but some > > points below: > > > > > Configuration in Data-config .xml: > > > > > > <dataConfig> > > > > > > <document> > > > > > > <entity name="email" > > > > > > user="m...@gmail.com" > > ^^^^^ I presume that you have put in your actual > > email address here. > > [...] > > > protocol="imap"/> > > ^^^^^ Shouldn't this be imaps, at least as > > per http://wiki.apache.org/solr/MailEntityProcessor > > > > Regards, > > Gora > > >