Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Mail UDF doesn't work

$
0
0

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;

 

}

 

 

mail.JPG

 

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


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>