Extract the data from DB and export the attachment through email.

I am trying to extract the data from DB and export the attachment through email.
But, While doing this i am getting error like given below:

[statistics] connecting to socket on port 3477
[statistics] connected
Exception in component tSendMail_1 (ABC)
javax.mail.AuthenticationFailedException: failed to connect
at javax.mail.Service.connect(Service.java:322)
at javax.mail.Service.connect(Service.java:172)
at javax.mail.Service.connect(Service.java:121)
at javax.mail.Transport.send0(Transport.java:190)
at javax.mail.Transport.send(Transport.java:120)
at local_project.ABC_2_0.ABC.tSendMail_1Process(ABC.java:1186)
at local_project.ABC_2_0.ABC.tDBInput_2Process(ABC.java:924)
at local_project.ABC_2_0.ABC.runJobInTOS(ABC.java:1467)
at local_project.ABC_2_0.ABC.main(ABC.java:1318)
[statistics] disconnected
Job ABC ended at 16:16 27/12/2018. [exit code=1]

Can Anyone help me on this?
Thanks in advance.

Tagged:
Sign In or Register to comment.