19,6 → 19,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.RunTask; |
import org.apache.tools.ant.taskdefs.HostInfo; |
77,8 → 78,32 |
false); |
} |
|
public ReturnCode sendMail(HostConnection mailhost, String from, String tolist, |
String cclist, String bcclist, String subject, |
MailMimeType mimetype, String charset, String message, |
FileSetResource res, boolean ssl, boolean tls) { |
return sendMail(from, |
from, |
tolist, |
cclist, |
bcclist, |
subject, |
message, |
mimetype.value(), |
res, |
mailhost.hostname, |
mailhost.port, |
mailhost.user, |
mailhost.password, |
charset, |
tls, |
ssl); |
} |
|
|
|
|
|
public ReturnCode sleep(int minutes, int seconds) { |
return sleep(0, minutes, seconds, 0); |
} |