Send an email with pentaho PDI

I want to send an email using PDI. I created a task and added the Mail item. There are my options.

Server smtp.gmail.com
Port: 587
Use Authentication
User : mygmailusername
Pass : mygmailpass
Secure Con Type : TLS

When I run the task, I get an error: Problem while sending message : javax.mail.AuthenticationFailedException

When I changed the port to 465 gmail, he rejected the message and sent an email to mygmailus, which indicated an attempt to log into the system unauthorized.

However, I changed the port for my BI server to 9090. I do not know if this is also the reason. It is assumed that the PDI must somehow communicate with the BI server, if it is a BI server that should send an email. How do I get this to work, please?

+4
source share
3

- . :

Server smtp.gmail.com
Port: 465
Use Authentication
User : mygmailusername
Pass : mygmailpass
Secure Con Type : SSL

PDI, , Google Suspicious sign-in prevented mygmailusername. http://support.google.com/mail?p=client_login. . .

, , , : http://www.google.com/accounts/DisplayUnlockCaptcha, "". .

+4

, :

Port 465 or 587
Secure Con Type SSL

, GMail SMTP, , .

+1

@flexxxit adicional ​​ Gmail, : https://www.google.com/settings/security/lesssecureapps

, " ", " ".

Pentaho DI Job.

0

All Articles