javax.mail.AuthenticationFailedException in tSendEmail
Hey all I get a strange error with email sending - the job works on my local PC, but when I upload it to server and run the job as an sh script, it gives me the following error: Exception in component tSendMail_2 javax.mail.AuthenticationFailedException at javax.mail.Service.connect(Service.java:306) at javax.mail.Service.connect(Service.java:156) at javax.mail.Service.connect(Service.java:105) at javax.mail.Transport.send0(Transport.java:168) at javax.mail.Transport.send(Transport.java:98) (Rest of error removed due to white label client names). Wondering if anyone had any idea why this might be? Its a gmail connection, I have allowed access for less secure apps, but its still not working on the server. Any help appreciated!
Re: javax.mail.AuthenticationFailedException in tSendEmail
Sabrina Thank you for responding. I will follow up with the server administrator to check JDK is on the server, I normally manually run the job from the console on my PC, so I will check that I can run it as a script on my local host also. I will update you with my findings. Thanks David