Subversion Repositories XServices

Rev

Rev 21 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21 Rev 22
Line 17... Line 17...
17
package net.brutex.xservices.ws;
17
package net.brutex.xservices.ws;
Line 18... Line 18...
18
 
18
 
19
import javax.jws.WebService;
19
import javax.jws.WebService;
20
import net.brutex.xservices.types.FileSetResource;
20
import net.brutex.xservices.types.FileSetResource;
-
 
21
import net.brutex.xservices.types.HostConnection;
21
import net.brutex.xservices.types.HostConnection;
22
import net.brutex.xservices.types.MailMimeType;
22
import net.brutex.xservices.types.ReturnCode;
23
import net.brutex.xservices.types.ReturnCode;
23
import net.brutex.xservices.util.RunTask;
24
import net.brutex.xservices.util.RunTask;
24
import org.apache.tools.ant.taskdefs.HostInfo;
25
import org.apache.tools.ant.taskdefs.HostInfo;
25
import org.apache.tools.ant.taskdefs.Sleep;
26
import org.apache.tools.ant.taskdefs.Sleep;
Line 75... Line 76...
75
                "utf-8",
76
                "utf-8",
76
                false,
77
                false,
77
                false);
78
                false);
78
    }
79
    }
Line -... Line 80...
-
 
80
 
-
 
81
    public ReturnCode sendMail(HostConnection mailhost, String from, String tolist,
-
 
82
            String cclist, String bcclist, String subject,
-
 
83
            MailMimeType mimetype, String charset, String message,
-
 
84
            FileSetResource res, boolean ssl, boolean tls) {
-
 
85
         return  sendMail(from,
-
 
86
                from,
-
 
87
                tolist,
-
 
88
                cclist,
-
 
89
                bcclist,
-
 
90
                subject,
-
 
91
                message,
-
 
92
                mimetype.value(),
-
 
93
                res,
-
 
94
                mailhost.hostname,
-
 
95
                mailhost.port,
-
 
96
                mailhost.user,
-
 
97
                mailhost.password,
-
 
98
                charset,
-
 
99
                tls,
-
 
100
                ssl);
-
 
101
    }
-
 
102
 
-
 
103
 
Line 79... Line 104...
79
 
104
 
80
 
105
 
81
 
106