Member since
07-30-2019
944
Posts
197
Kudos Received
91
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1440 | 10-05-2021 01:53 PM | |
16082 | 09-23-2019 06:03 AM | |
6646 | 05-04-2019 08:42 PM | |
1453 | 06-11-2018 12:45 PM | |
12326 | 06-04-2018 01:11 PM |
02-18-2025
05:20 AM
1 Kudo
@pavanshettyg5 You will get much better traction in the community by starting a new community question rather then adding on to an existing community question that already has an accepted solution. This particular community question is from 2017 Please start a new community question with the details of what you are observing. Thank you
... View more
08-28-2024
01:31 PM
Does anyone from the community, have answer this question what about if java version greater than 8, how the toolkit will work with "JAXB-API has not been found"?
... View more
07-19-2024
01:33 PM
@Bern 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. Thanks.
... View more
03-27-2023
02:09 AM
@TB_19 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.
... View more
02-06-2023
05:53 AM
I am having a simple flow where I am fetching the creds for SFTP from DB and then uploading a file using the putSFTP but I am getting UnknownHostException error on PutSFTP processor. I see the creds are being fetched - I see them in logs and also tried connecting to the Server using FileZilla (creds are correct ..no space etc all good with that).. Also I tried hardcoding the creds in PutSFTP and still it did not work. can someone please guide me..
... View more
11-09-2022
05:05 AM
can someone explain me what is the meaning of dot-rename ? i'm using a putsftp processor for one of my flows and i'm getting an error about dot-rename
... View more
09-15-2022
05:17 AM
We can't use PutEmail processor direct for attachment. We can use FetchFile processor and direct to PutEmail processor to send attachment, but it fetchFile will send the attachment for the first trigger only. Alternatively for send attachment, you can use ExecuteScript Processor using python module and pass the argument parameter of mailto and fromto to script. import smtplib from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email import encoders fromaddr = 'SENDER@EMAIL.COM' #$arg1 Argument from NIFI Flow toaddr = 'RECIPIENT@EMAIL.COM' #$arg2 Argument from NIFI Flow msg = MIMEMultipart() msg['From'] = fromaddr msg['To'] = toaddr msg['Subject'] = 'Define the Subject' body = 'Define Body' msg.attach(MIMEText(body)) files = ['/user/path/filename1', '/user/path/filename2'] for filename in files: attachment = open(filename, 'rb') part = MIMEBase("application", "octet-stream") part.set_payload(attachment.read()) encoders.encode_base64(part) part.add_header("Content-Disposition", f"attachment; filename= {filename}") msg.attach(part) msg = msg.as_string() try: server = smtplib.SMTP('smtp.email.com:21') server.ehlo() server.starttls() server.login(fromaddr, 'user') server.sendmail(fromaddr, toaddr, msg) server.quit() @leandrolinof wrote: @Aaki_08 good morning. I have a situation where I need to email buyers of a certain ID with a certain PDF attachment. This attachment will be saved in a field in a table in oracle. Today I'm already using PutEmail to send the E-mail, but I don't know how to send the attachment. Could you help me, please? @leandrolinof wrote: @Aaki_08 good morning. I have a situation where I need to email buyers of a certain ID with a certain PDF attachment. This attachment will be saved in a field in a table in oracle. Today I'm already using PutEmail to send the E-mail, but I don't know how to send the attachment. Could you help me, please?
... View more