Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
since_1995
Contributor III
Contributor III

How to send email from file input?

I'm trying to send a mail using the tfileinputproperties.

 

tfileinputproperties--->(main)--->tsetglobalvariable

|

(on subjob ok)

 

tsendmail---(on subjobok)-->tjava

 

 

but I'm getting null pointer exception

 

To and From mail id's has been mentioned in the input file type .properties.

Labels (2)
4 Replies
TRF
Champion II
Champion II

How is configured your tSetGlobalVar component?

Are your sure the expected variables are created and initialized with the desired values?

since_1995
Contributor III
Contributor III
Author

I have added the key as row1.key and value as row1.value in tsetglobal variable.

TRF
Champion II
Champion II

Can you get the content for these variables after tSetGlobalVar?
since_1995
Contributor III
Contributor III
Author