on 01-22-2015 9:42 AM
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
hi there experts,
no one has any hint?
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Edu,
Have you imported mail.zip? Wiki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramkumar,
I'm trying to replicate this and I'm quite sure they use the mail.send method...
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=90570965
Cheers,
Edu
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.