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

Nifi to send mail using PutEmail Processor with attachment


My dataflow have recipient mail id for which the mail should be triggered with the attachment. As the recipient address is dynamic, the mail are getting triggered two times i) With the actual attachment & ii) with flow details attachment.

I want to trigger mail once per flow with actual attachment. Guide me if anything wrong if the flow :  




How to get the local file attached to putEmail processor 



The success relationship out of the ControlRate processor is why there are two emails. Only route success from ControlRate to the UpdateAttribute processor and there should only be a single email message.

; ;