Skip to content

Commit

Permalink
Email.it fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobaccan committed Apr 29, 2022
1 parent d1965ca commit 6abc99e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
11 changes: 1 addition & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,7 @@
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>4.23.0</version>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<version>4.23.0</version>
<configuration>
<!-- https://docs.openrewrite.org/reference/recipes/java -->
<activeRecipes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class PluginEmailIt extends POP3Base implements POP3Plugin {
/**
* Url di base di Email.it.
*/
static final String EMAILIT_DOMAIN = "https://irin.email.it/";
static final String EMAILIT_DOMAIN = "https://webmail.email.it/";

/**
* Server di riferimento
Expand Down Expand Up @@ -145,8 +145,8 @@ public final boolean login(String cUserParam, String cPwd) {
authPage = getUnirest().get(authPageUrl).asString();

// Passo alla home in html
HttpResponse<String> homepage = getUnirest().get("https://irin.email.it/?client=standard").asString();

//HttpResponse<String> homepage = getUnirest().get("https://irin.email.it/?client=standard").asString();
HttpResponse<String> homepage = getUnirest().get("https://webmail.email.it/h/search?mesg=welcome&init=true&auth=qp").asString();
// Creo il DOM
String sb = homepage.getBody();

Expand Down

0 comments on commit 6abc99e

Please sign in to comment.