OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 182 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 182 Rev 185
Line 374... Line 374...
374
                in.write(body.getBytes(StandardCharsets.UTF_8));
374
                in.write(body.getBytes(StandardCharsets.UTF_8));
375
            }
375
            }
376
 
376
 
377
            final int returnCode = process.waitFor();
377
            final int returnCode = process.waitFor();
378
            if (returnCode != 0)
378
            if (returnCode != 0)
379
                throw new IllegalStateException("Non zero return code: " + returnCode);
379
                throw new IllegalStateException("Non zero return code: " + returnCode + "\nCommande : " + CollectionUtils.join(pb.command(), " "));
380
            return true;
380
            return true;
381
        }
381
        }
382
    };
382
    };
383
 
383
 
384
    public static final EmailClient AppleMail = new EmailClient(EmailClientType.AppleMail) {
384
    public static final EmailClient AppleMail = new EmailClient(EmailClientType.AppleMail) {