• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Exception in component tPOP_1

#1 2012-04-16 18:06:50

ba0344
Member
Registered: 2012-04-16
Posts: 11

Exception in component tPOP_1

Tags: [error, mail, tpop]

Hello,

I trying to get my mail from company's server. I think I am not setting tPOP correctly.

I already have tSendMail in another job running ok.

I use Talend 5.0.1 on Windows.

Thanks a lot.

Starting job getMail at 16:52 16/04/2012.

[statistics] connecting to socket on port 3355
[statistics] connected
Exception in component tPOP_1
javax.mail.MessagingException: Connect failed;
  nested exception is:
    java.io.IOException: Unexpected response: 220 cusarusrv.cusaru.local Microsoft ESMTP MAIL Service ready at Mon, 16 Apr 2012 16:52:00 +0100
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:210)
    at javax.mail.Service.connect(Service.java:295)
    at cusaru2.getmail_0_1.getMail.tPOP_1Process(getMail.java:309)
    at cusaru2.getmail_0_1.getMail.runJobInTOS(getMail.java:1369)
    at cusaru2.getmail_0_1.getMail.main(getMail.java:1237)
Caused by: java.io.IOException: Unexpected response: 220 cusarusrv.cusaru.local Microsoft ESMTP MAIL Service ready at Mon, 16 Apr 2012 16:52:00 +0100
    at com.sun.mail.pop3.Protocol.readResponse(Protocol.java:711)
    at com.sun.mail.pop3.Protocol.simpleCommand(Protocol.java:656)
    at com.sun.mail.pop3.Protocol.<init>(Protocol.java:109)
    at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:261)
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:206)
    ... 4 more


Uploaded Images

Offline

#2 2012-04-17 02:39:11

shihang
Member
Registered: 2011-10-07
Posts: 11

Re: Exception in component tPOP_1

hi ba0344

The basic setting seems OK, however please check your port?

Offline

#3 2012-04-17 10:56:16

brandon_stubbs93
Member
Company: BOS Solutions
Registered: 2011-01-16
Posts: 166
Website

Re: Exception in component tPOP_1

Hi ba0344

It is your port, port 25 is normally the smpt port for the mail server.
Try port 110 or 995

Regards,
Brandon

Last edited by brandon_stubbs93 (2012-04-17 10:56:36)

Offline

#4 2012-04-17 13:18:53

ba0344
Member
Registered: 2012-04-16
Posts: 11

Re: Exception in component tPOP_1

Thanks shihang and brandon_stubbs93,

Finally I got it, pop3 wasn't enable.

Now, I got funny issue, when I Run Debug it takes the mails, id I Run the basic one, nothing!! Why??

Also brandon_stubbs93, you were right the port was 110.

Thanks!

Last edited by ba0344 (2012-04-17 13:30:06)

Offline

#5 2012-04-18 11:06:22

brandon_stubbs93
Member
Company: BOS Solutions
Registered: 2011-01-16
Posts: 166
Website

Re: Exception in component tPOP_1

Hi ba0344

Try starting talend by running it as administrator

Regards,
Brandon

Offline

#6 2012-04-18 15:10:04

ba0344
Member
Registered: 2012-04-16
Posts: 11

Re: Exception in component tPOP_1

Thanks Brandon,

It worked!!

I've got two questions now:

1.- Is it possible receiving just the new ones, not all? I don't want to delete the mails from the server.

2.- How can I rename mails using Sent Date, Sender, Subject?


Thanks again!

Ba0334

Offline

#7 2012-04-20 17:24:48

brandon_stubbs93
Member
Company: BOS Solutions
Registered: 2011-01-16
Posts: 166
Website

Re: Exception in component tPOP_1

Hi ba0344

1) use the Advanced setting in the tPop component for this.
2) you would probably have to use tfileinputmail and declare some variables and then use those variables in a tfilecopy to do this stage

Regards,
Brandon

Offline

#8 2012-04-25 14:57:04

ba0344
Member
Registered: 2012-04-16
Posts: 11

Re: Exception in component tPOP_1

Thanks Brandon!

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Exception in component tPOP_1

Board footer

Powered by FluxBB