Hello there experts!
I've developed some Java UDF at a mapping (at a SOAP response) in order to send a mail directly at the mapping time, but it isn't working. My code is the following:
Imports mail.sdn.*;
public String mail(String statusCode, Container container){
email mail=new mail();
mail.send("myhost.com/something";myreceiver@mail.com, "mytopic";"mycontent"; mysender@mail.com);
return statusCode;
}
even though the statusCode is being populated at the target (so the UDF is working and the flow passes through it) the mail is not being sent.
Could it be that I've got the wrong host? basis team says that the host is correct, as it is set at the SCOT Tx... could it be something about permissions?
Any hint?
Cheers,
Edu