Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have an issue with tSendMail ... first, it works (in PRODUCTION) 99,99%, but sometimes I have issues, it never stops.
it is a classical tSendMail with Microsoft account and 1 file attached. the entire job usually last 2 minutes.
But, sometimes, it never stops ... blocking the next schedulling of the process.
You can see in the execution logs that the the tSendMail starts ... but never ended.
1.Do you know how to get a status of this tSendMail after a few minutes ?
2.If not, do you know how to interrupt a job after 10 minutes execution, even if not ended ? (
I mean, with a talend component inside the job ... do you know if such component exist ?
)thanks in advance for you answers.
Hello,
Is there any connection timeout exception when tSendMail is executed for a second or third time?
Here is a 'Die on error' check box on tSendMail component which is used to catch an error during the job execution.
Best regards
Sabrina
Hello Sabrina,
thank you for taking some time to look at my problem. As you can see, there is only one tentative to connect to smtp ... and it is successfull ... then, it never goes out the component ...
regards
Damien
Hello,
If you want to stop your job when Execution Time is too long, please try this way.
Here is online component reference TalendHelpCenter: tDie
Best regards
Sabrina
Thank you for your efforts. I understand what you write but as you can see on the screen copy and associated message in the run logs, I have a display from tWarn before tSendMail, then I have a message 'connection so smtp has succeeded' ... and then, nothing. BUT as you can see, just after the tsendMail, I have another tWarn component ...
So, I am "entering" into the tSendMail ... but never go out ...
no tmap ... the tsendMail may have issues but is not allowing any interaction ...
regards
Damien
@Damien BLONDEL, I am using Microsoft account to send email in my job every day, I don't have the problem so far, here is my settings, can you check if you have something different?
tsendmail is a component that works independently, can you try to change your job tSendEmail--main--tWarn to tSendEmail--OncomponentOK--tWarn? It will make the job more readable.
Where is the job executed? Talend Studio or TMC/TAC or third-party scheduler?
Regards
Shong
Bonjour Shong,
thank you for your answer. I have exactly the same settings on the tSendMail. I have splitted the mail into 5 as I am sending 5 files attached (size under the limit of my company's microsoft subscription limit) and will evaluate the impact in the coming hours.
I am using Talend Cloud Studio but job is executed on our own Windows Server (with a remote engine).
regards
Damien