Support Questions

Find answers, ask questions, and share your expertise

Setup SMTP Apache Nifi mail server

avatar
New Contributor

Hi Everyone, 

I want to set up an outbound  Apache Nifi SMTP email server with Outlook so that It could send the outbound email. Does anybody have any suggestions for this? 

I have tried with the ListenSMTP processor but not sure how to set up the "Listening Port", and what other components it would require for that 

I have tried to follow this page: https://medium.com/@tspann/using-nifi-as-an-smtp-email-test-server-713677ac5b67

But not so sure how to configure that processor with Outlook, or even need outlook at all for that email server. 

Thank you, everyone, for reading. 

1 ACCEPTED SOLUTION

avatar
Master Mentor

@hule 
Welcome to the community.

I am not completely clear on your use case from your description.  What are you trying to accomplish?
Are you trying to generate emails within NiFi and send to an external outlook email address or are trying to have your NiFi receive emails?

It sounds like maybe sending an email from a NiFi dataflow to some email address.  If so, the processor you want to use is the putEmail processor.  As far as the SMTP settings, those need to come from the target SMTP server.  

For example:
Microsoft provides SMTP settings here:
https://support.microsoft.com/en-gb/office/pop-imap-and-smtp-settings-8361e398-8af4-4e97-b147-6c6c4a...

Google Gmail provides SMTP settings here:
https://support.google.com/a/answer/176600?hl=en


If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped.

Thank you,

Matt

View solution in original post

5 REPLIES 5

avatar
Community Manager

@hule Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our NiFi experts @MattWho @SAMSAL  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Mentor

@hule 
Welcome to the community.

I am not completely clear on your use case from your description.  What are you trying to accomplish?
Are you trying to generate emails within NiFi and send to an external outlook email address or are trying to have your NiFi receive emails?

It sounds like maybe sending an email from a NiFi dataflow to some email address.  If so, the processor you want to use is the putEmail processor.  As far as the SMTP settings, those need to come from the target SMTP server.  

For example:
Microsoft provides SMTP settings here:
https://support.microsoft.com/en-gb/office/pop-imap-and-smtp-settings-8361e398-8af4-4e97-b147-6c6c4a...

Google Gmail provides SMTP settings here:
https://support.google.com/a/answer/176600?hl=en


If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped.

Thank you,

Matt

avatar
New Contributor

@MattWho Thank you for your input

avatar
Community Manager

@hule Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
New Contributor

@DianaTorresI just marked resolved, Apology for my late reply. Thank you