Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to read a text file and send its whole content as part of email body.
ex- testing.txt contains-
line1
line2
line3
so my email should contain the above data as body.
please help me in getting this result.
You can simply read the file using tFileInputRaw.
tFileInputRaw --- tJavaRow
|
|
SubjobOK
|
|
tSendMail
in TjavaRow
globalMap.put("FileBody" , row12.content);
tSendMail -- ( in Body)
(String)globalMap.get("FileBody");
You can simply read the file using tFileInputRaw.
tFileInputRaw --- tJavaRow
|
|
SubjobOK
|
|
tSendMail
in TjavaRow
globalMap.put("FileBody" , row12.content);
tSendMail -- ( in Body)
(String)globalMap.get("FileBody");
Thanks @uganesh for teh reply...its working for me.