Thanks. Yes getrecipients() is also null.
This is beginning of mailetcontainer.conf <mailetcontainer enableJmx="true"> <mailet class="ToRepository"> <repositoryPath>file://var/mail/infected/</repositoryPath> </mailet> ToRepository is in a project: james-server-mailet. Its init() is called on startup of debugging but its service() method is not called. Am i wrong on expecting ToRepository.service() to run? 2012/10/12 Eric Charles <[email protected]> > Not sure what's going on. > > Is mail.getRecipients() also null? > What if you put your breakpoint in another mailet (one provided in the > normal container flow)? > > Thx, Eric > > > > On 12/10/2012 10:13, Merve Temizer wrote: > >> Also every field in message is null, all the headers are empty. >> >> 2012/10/12 Merve Temizer <[email protected]> >> >> I sent mail through Thunderbird >>> >>> i saw in debug environment my mailet has run, look at the variable at >>> breakpoint in Eclipse, org.apache.mailet.Mail.**getmessage().getcontent >>> is >>> still null. >>> >>> Thanks for advice. >>> >>> >>> 2012/10/11 Merve Temizer <[email protected]> >>> >>> i am going to try with mail client and send you feed back. >>>> thanks for attention >>>> >>>> >>>> 2012/10/11 Merve Temizer <[email protected]> >>>> >>>> I am sending mail with >>>>> >>>>> >>>>> $telnet localhost 1025(1025 is port that i set to james) >>>>> >>>>> mail from:<user2@localhost> >>>>> rcpt to:<user2@localhost> >>>>> >>>>> data >>>>> mycontent >>>>> . >>>>> >>>>> i can see mail and its content in folder that i specified for mail >>>>> recording. >>>>> >>>>> 1025 because i changed it, it is not the pr >>>>> >>>>> >>>>> 2012/10/11 Eric Charles <[email protected]> >>>>> >>>>> Is the content null if you send via regular mail client? >>>>>> >>>>>> Which telnet commands do you issue? >>>>>> >>>>>> Thx, Eric >>>>>> >>>>>> >>>>>> >>>>>> On 10/10/2012 16:58, Merve Temizer wrote: >>>>>> >>>>>> Hello, >>>>>>> >>>>>>> I have a custom mailet, i see it runs on debug environment. >>>>>>> >>>>>>> in service(org.apache.mailet.Mail mail) >>>>>>> >>>>>>> mail.getMessage().getContent is null. >>>>>>> >>>>>>> I am sending a mail using telnet smtp connection. >>>>>>> >>>>>>> I think i am doing sth wrong, can you advice sth to specify the >>>>>>> problem. >>>>>>> >>>>>>> Thanks. >>>>>>> >>>>>>> >>>>>>> -- >>>>>> @echarles >>>>>> >>>>>> ------------------------------****----------------------------**--** >>>>>> --------- >>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.****apache.org< >>>>>> server-dev-**[email protected]<[email protected]> >>>>>> > >>>>>> For additional commands, e-mail: [email protected].*** >>>>>> *org<server-dev-help@james.**apache.org<[email protected]> >>>>>> > >>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> > -- > @echarles > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > server-dev-unsubscribe@james.**apache.org<[email protected]> > For additional commands, e-mail: > [email protected].**org<[email protected]> > >
