title: Send Email with pentaho PDI
body: <p>I want to sent an email using PDI. I created an job and added the 'Mail' element. There are my parameters.</p>
  
  <pre><code>Server smtp.gmail.com
  Port: 587
  Use Authentication
  User : mygmailusername
  Pass : mygmailpass
  Secure Con Type : TLS
  </code></pre>
  
  <p>When I run the job I get the error :<code>Problem while sending message : javax.mail.AuthenticationFailedException</code></p>
  
  <p>When I changed the port to 465 gmail rejected the message and sent an email to mygmailusername indicating unauthorised login attempt. </p>
  
  <p>However I have changed the port for my BI server to 9090. I dont know if this is also a reason. Am assuming PDI is to communicate somehow with BI server if it is the BI server which is to send the email. How do I get this to work please ?</p>