Check append limit

This commit is contained in:
M66B
2020-07-03 10:04:09 +02:00
parent d12e7a1d92
commit f4ef463cbd
4 changed files with 19 additions and 4 deletions

View File

@@ -635,6 +635,8 @@ public class EmailService implements AutoCloseable {
}
Long getMaxSize() throws MessagingException {
// https://support.google.com/mail/answer/6584#limit
String size;
if (iservice instanceof SMTPTransport) {
// https://tools.ietf.org/html/rfc1870