Support Questions
Find answers, ask questions, and share your expertise

NiFi PutEmail Error

NiFi PutEmail Error

Super Collaborator


On my windows NiFi server , I am able to send unauthenticated emails using PutEmail processor by supplying SMTP Host name, Port 25 and user credentials. But in the email subject starts with UNVERIFIED SENDER.

but when I tried with port 587 which we are using for authenticated emails , I am getting the below error.

I am able to send emails using port 587 using PowerShell command. so i know the user has permissions to send emails on that port.

any ideas on how to solve this.???


15:10:47 CDT ERROR 015e112b-6c5c-180e-115e-cece012de960

PutEmail[id=015e112b-6c5c-180e-115e-cece012de960] Failed to send email for StandardFlowFileRecord[uuid=741a83b9-ee95-4bef-aea4-93ae30d28c17,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1527624082884-412, container=default, section=412], offset=361603, length=4],offset=0,name=1232268045691876,size=4]: 535 5.7.3 Authentication unsuccessful
; routing to failure: javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful

Re: NiFi PutEmail Error

Expert Contributor

All processors run under the context of user that is running Nifi. Check authentication for the user running Nifi.


Re: NiFi PutEmail Error

Expert Contributor

First of all doublecheck all configurations (incl. password). Just to avoid moving in the right direction.

Secondly confirm that you do not need TLS enabled.

If these don't help, the following might help with troubleshooting:

1. Become nifi on the node where nifi is running

2. Send the message via Python

3. Share the python command here

Note: Please explicity specify all things that you configure in nify when executing python (even if they are not needed because of good defaults for instance).

- Dennis Jaheruddin

If this answer helped, please mark it as 'solved' and/or if it is valuable for future readers please apply 'kudos'. Also check out my techincal portfolio at