File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
gxmail/src/main/java/com/genexus/internet Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 13
13
14
14
import jakarta .mail .internet .MimeBodyPart ;
15
15
import jakarta .activation .*;
16
+ import org .apache .commons .lang3 .ObjectUtils ;
16
17
17
18
public final class SMTPSessionJavaMail implements GXInternetConstants ,ISMTPSession
18
19
{
@@ -239,6 +240,11 @@ public void logout(GXSMTPSession sessionInfo)
239
240
log ("7 - IOException " + e .getMessage ());
240
241
sessionInfo .exceptionHandler (new GXMailException (e .getMessage (), MAIL_ConnectionLost ));
241
242
}
243
+ catch (NullPointerException e )
244
+ {
245
+ log ("8 - NullPointerException " + e .getMessage ());
246
+ sessionInfo .exceptionHandler (new GXMailException (e .getMessage (), MAIL_ConnectionLost ));
247
+ }
242
248
}
243
249
244
250
public void setSubject (String subject )
You can’t perform that action at this time.
0 commit comments