TALEND... How can i send the same email INDIVIDUALLY to 400 diff people - email

hi im looking at my talend jobs and trying to send the same email to 400 diff people, but i need to do it ONE AT A TIME, as opposed to all at once
what should i be looking at to complete this? iteration or looping somehow ? any references or advice greatly appreciated.

While having the email address, the subject and the body as rows I would use a tSendMail to send the mail inside a normal row loop and maybe a tSleep component to wait shortly if the email is big.
In the job settings, as stated by Balazs Gunics, you can set under "Extra" "Multi threaded execution" which, depending on your use case, can speed up the processing.

Related

Powershell Exchange Online email counting report

I'm trying to work on some monthly statistics for our company, where I could set a schedule task with powershell to get this data monthly. First of all, I would like to extract the total number of emails (received and sent) over the last 30 days.
I've been looking at the ExchangeOnlineManagement Module, and from what I can see, I would need to use the "Start-HistoricalSearch" to be able to retrieve emails. But I don't want to create a CSV of all emails, I just want as a result the total number of emails, but I can't seem to be able to do something like.
Has anyone had the same need or can help me understand how can I reach this goal?
Thanks

Laravel - Change callback variable value in the each() of a Lazycollection every x items

I need to send a notification for a big amount of users.
I read about chunk(), cursor(), lazy() and lazyById() methods and I opted for the last one for retrieve the users.
I'd like to send the notification with a delay using $user->notify(...)->delay() every 100 users to avoid to process all the email at once.
How can achieve in an elegant way without using counters?
Is there any useful property I didn't find about the aforementioned methods?
Any suggestion will be appreciate :)

Email sent to an address from a csv file in Talend (one time)

I need to send an email using Talend however using I need to have the address captured from a csv file. (automated each time and not specified manually)
Right now I can only add an email address manually. I need Talend to capture it from the csv file and also I need it to send once and not many times (right now as long as the query is running it send many emails)
I am not sure if this is what you are after but this is my suggestion:
The tSetGlobalVar component simply initializes the variables like this:
Then the tMap supplies the t_Java_Row with the e-mail from the file (I am assuming that is where it is - you didn't specify). The code in the tMap sets the values of the global variables with this code (in the code section of the tJava_Row component)
globalMap.put("email", input_row.email);
globalMap.put("body", input_row.body);
Then in the send mail component you recall the variables that were set.
Hope there is enough in there to help a bit. There might be other ways to do this, but that would be my approach.
Cheers.

Send email after the end of a DTS job

I need to send an email by the end of my DTS without affecting the running jobs.
I mean that I don't want to put the send email function like in the end of the DTS, but my idea is to send and email once the last table in my DTS gets updated (without using a trigger that will affect the DTS in case of EXHANGE problems)
I'm thinking about the last modification in the last table in my DTS to send an e-mail but I really don't know how to verify a last modification...
Also, I have a log file where it reports that the steps are in success, I think to read from it ?
Any suggestions ? Help ?
Thank you.
Well, I made it by my self finally.
I created a table and made an insert in it after some steps of the execution of my DTS. It doesn't seem to affect anything right now.
An email is sent lately by reading from this table.
"Bon début de semaine :)"

Extracting text from archived Outlook messages

In an Outlook folder, I store hundreds of messages about the status of a battery system. The emails are automatically sent daily. Each message contains information on the battery voltage in the message body, and the information is always formatted as follows,
DATE: 9/14/2011
Main Battery Voltage [V]: 25.67
I would like to write a routine to extract the battery voltage and date information from each message body and concatenate the results so I get a vector of [date, voltage]. I'd like the routine to run from the command line, rather than using Outlook. What is the right tool for this task? Are Outlook messages in a specific folder saved as ASCII files somewhere? If that is the case, I could easily open all the files using perl or similar tool and pull the information out. I just don't know how and where the message body information is stored.
Convert your Outlook message store into a standard formats like Maildir or Mbox first, then employ Email::Folder or Mail::Box for the parsing.
If you want to bypass Outlook entirely, you could use IMAP::Client or somesuch to fetch the mail directly from the server. Depending on how Outlook was configured, existing messages may or may not be there, but it'll work for all new messages, anyway.