Compare commits
1 Commits
bugfix/mai
...
bugfix/ima
| Author | SHA1 | Date | |
|---|---|---|---|
| 53fe79fbbd |
@@ -2,6 +2,7 @@
|
|||||||
package de.srsoftware.umbrella.message;
|
package de.srsoftware.umbrella.message;
|
||||||
|
|
||||||
public class Constants {
|
public class Constants {
|
||||||
|
public static final String AUTH = "mail.smtp.auth";
|
||||||
|
|
||||||
public static final String CONFIG_DB = "umbrella.modules.message.database";
|
public static final String CONFIG_DB = "umbrella.modules.message.database";
|
||||||
public static final String CONFIG_SMTP_HOST = "umbrella.modules.message.smtp.host";
|
public static final String CONFIG_SMTP_HOST = "umbrella.modules.message.smtp.host";
|
||||||
@@ -10,11 +11,13 @@ public class Constants {
|
|||||||
public static final String CONFIG_SMTP_USER = "umbrella.modules.message.smtp.user";
|
public static final String CONFIG_SMTP_USER = "umbrella.modules.message.smtp.user";
|
||||||
|
|
||||||
public static final String DEBUG_ADDREESS = "umbrella.modules.message.debug_address";
|
public static final String DEBUG_ADDREESS = "umbrella.modules.message.debug_address";
|
||||||
public static final String SMTP_AUTH = "mail.smtp.auth";
|
public static final String ENVELOPE_FROM = "mail.smtp.from";
|
||||||
public static final String SMTP_HOST = "mail.smtp.host";
|
public static final String FIELD_MESSAGES = "messages";
|
||||||
public static final String SMTP_FROM = "mail.smtp.from";
|
public static final String FIELD_HOST = "host";
|
||||||
public static final String SMTP_PORT = "mail.smtp.port";
|
public static final String FIELD_PORT = "port";
|
||||||
public static final String SMTP_SSL = "mail.smtp.ssl.enable";
|
public static final String HOST = "mail.smtp.host";
|
||||||
|
public static final String PORT = "mail.smtp.port";
|
||||||
|
public static final String SSL = "mail.smtp.ssl.enable";
|
||||||
public static final String SUBMISSION = "submission";
|
public static final String SUBMISSION = "submission";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -142,11 +142,11 @@ public class MessageSystem implements PostBox {
|
|||||||
private Session session() {
|
private Session session() {
|
||||||
if (session == null){
|
if (session == null){
|
||||||
Properties props = new Properties();
|
Properties props = new Properties();
|
||||||
props.put(SMTP_HOST, host);
|
props.put(HOST, host);
|
||||||
props.put(SMTP_PORT, port);
|
props.put(PORT, port);
|
||||||
props.put(SMTP_AUTH, true);
|
props.put(AUTH, true);
|
||||||
props.put(SMTP_SSL, true);
|
props.put(SSL, true);
|
||||||
props.put(SMTP_FROM,from);
|
props.put(ENVELOPE_FROM,from);
|
||||||
session = Session.getInstance(props);
|
session = Session.getInstance(props);
|
||||||
}
|
}
|
||||||
return session;
|
return session;
|
||||||
|
|||||||
@@ -57,8 +57,9 @@ footer {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img, svg {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
|
|||||||
@@ -57,8 +57,9 @@ footer {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img, svg {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
|
|||||||
@@ -57,17 +57,18 @@ footer {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img, svg {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
top: 0;
|
top: 0;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 0 0 10px 0;
|
margin: 0 0 10px 0;
|
||||||
border-bottom: 1px solid;
|
border-bottom: 1px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
td, tr{
|
td, tr{
|
||||||
|
|||||||
Reference in New Issue
Block a user