Created on 11-02-2017 09:55 AM - edited 08-18-2019 12:53 AM
My dataflow takes some files from HDFS and after some processing i want to send en email to specific accounts
as notification but with the flowfile itself included as an attachment in the mail.
This is the configuration of the PutEmail processor:
Lets say i wanna use my gmail account to send the emails, then the SMTP authorization should be my gmail credentials and the sending address the one of my gmail account right?
This is the error message i receive, any ideas on what is going wrong here?
Created 11-02-2017 03:52 PM
Try to telnet to smtp.gmail.com on port 25 from the command line on the system running NiFi, does it work?
Created 08-28-2018 01:51 PM
Hi Everyone,
@balalaika,@wynner
Any solution for the above mentioned error? I too tried with ports 25,465 & 587 as mentioned in below comments, i am able to telnet smtp.gmail.com, but still getting connection refused error.Any help is highly appreciated.
Thanks in advance!!
Created 11-02-2017 10:27 PM
Use port 587 - it work for me.
See link here:
https://support.google.com/a/answer/176600?hl=en
Note: Before you start the configuration, make sure that Less secure apps is enabled for the desired account.
Created 08-28-2018 02:14 PM
Using port 465 here with SMTP TLS set to false
Created 08-29-2018 08:33 AM
Thanks a lot for your answer,helped me. also I had to enable allow less secure apps setting in my gmail.
Created 05-28-2019 06:02 AM
I am getting the same error, please tell me how did you resolve the error. Already have tried 25, 465 and 587 with TLS mode on and off given in g suite settings and also enabled less secure apps.
Created 07-21-2021 09:43 PM
Any Solution?
Created 07-21-2021 11:27 PM
@Kasun, as this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.
Regards,
Vidya Sargur,