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.
connecting to socket on port 3355
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
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!
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?
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
Hello,
I'm trying to get emails from the company's server and I set all the parameters required but I get this error:
Exception in component tPOP_1
javax.mail.MessagingException: Connect failed;
nested exception is:
java.net.UnknownHostException: mail.compagnie-name.com
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
at javax.mail.Service.connect(Service.java:275)
can you help me please.