20,6 → 20,7 |
import javax.jws.WebService; |
import net.brutex.xservices.types.FileSetResource; |
import net.brutex.xservices.types.HostConnection; |
import net.brutex.xservices.types.MailMimeType; |
import net.brutex.xservices.types.ReturnCode; |
import net.brutex.xservices.util.BrutexNamespaces; |
|
48,6 → 49,20 |
@WebParam(name = "message") String message, |
@WebParam(name = "attachments") FileSetResource res); |
|
@WebMethod(operationName = "sendMail") |
public ReturnCode sendMail(@WebParam(name = "mailhost") HostConnection mailhost, |
@WebParam(name = "from") String from, |
@WebParam(name = "to") String tolist, |
@WebParam(name = "cc") String cclist, |
@WebParam(name = "bcc") String bcclist, |
@WebParam(name = "subject") String subject, |
@WebParam(name = "mimetype") MailMimeType mimetype, |
@WebParam(name = "charset") String charset, |
@WebParam(name = "message") String message, |
@WebParam(name = "attachments") FileSetResource res, |
@WebParam(name = "useSSL") boolean ssl, |
@WebParam(name = "useStartTLS") boolean tls); |
|
@WebMethod(operationName = "sleep") |
public ReturnCode sleep(@WebParam(name = "minutes") int minutes, |
@WebParam(name = "seconds") int seconds); |