From 358ec8715b1cea45bc26d7717e1e4505d7eccbeb Mon Sep 17 00:00:00 2001 From: Difegue <8237712+Difegue@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:37:53 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/difegue/doujinsoft/wc24/WiiConnect24Api.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/difegue/doujinsoft/wc24/WiiConnect24Api.java b/src/com/difegue/doujinsoft/wc24/WiiConnect24Api.java index 7d69350..1ec0f20 100644 --- a/src/com/difegue/doujinsoft/wc24/WiiConnect24Api.java +++ b/src/com/difegue/doujinsoft/wc24/WiiConnect24Api.java @@ -39,7 +39,7 @@ public String sendMails(List mails) throws IOException { Logger log = Logger.getLogger("WC24"); HttpClient httpclient = HttpClients.createDefault(); - HttpPost httppost = new HttpPost("https://mtw." + wc24Server + "/cgi-bin/send.cgi"); + HttpPost httppost = new HttpPost("http://mtw." + wc24Server + "/cgi-bin/send.cgi"); // Request parameters and other properties. MultipartEntityBuilder builder = MultipartEntityBuilder.create(); @@ -97,7 +97,7 @@ public void receiveMails() throws Exception { // parameters. String authString = "mlid=w" + sender + "&passwd=" + wc24Pass; HttpPost request = new HttpPost( - "https://mtw." + wc24Server + "/cgi-bin/receive.cgi?" + authString + "&maxsize=2000000"); + "http://mtw." + wc24Server + "/cgi-bin/receive.cgi?" + authString + "&maxsize=2000000"); // Execute and get the response. HttpResponse response = httpclient.execute(request); @@ -111,4 +111,4 @@ public void receiveMails() throws Exception { new MailItemParser(application).consumeEmails(responseText); } } -} \ No newline at end of file +}