[Yanel-dev] Re: Yanel Patch für MailUtil
Michael Wechner
michael.wechner at wyona.com
Mon Sep 6 23:54:09 CEST 2010
Dear Balz
Thanks for your patch, whereas I am not sure if it is a bug or a
feature. I first need to check the history of this class
-----
svn log src/core/java/org/wyona/yanel/core/util/MailUtil.java
------------------------------------------------------------------------
r52649 | michi | 2010-08-24 10:09:58 +0200 (Tue, 24 Aug 2010) | 1 line
note about default session added
------------------------------------------------------------------------
r52643 | michi | 2010-08-24 09:49:07 +0200 (Tue, 24 Aug 2010) | 1 line
enhanced with charset and mime sub-type
------------------------------------------------------------------------
r47278 | michi | 2010-01-27 12:13:58 +0100 (Wed, 27 Jan 2010) | 1 line
reply to address added
------------------------------------------------------------------------
r47265 | michi | 2010-01-27 10:25:38 +0100 (Wed, 27 Jan 2010) | 1 line
mail utility class added
-------
in order to make a decision.
Cheers
Michael
Balz Schreier wrote:
> Hallo Michi,
>
> ich habe einen Patch für MailUtil, siehe Attachment.
>
> Diff:
>
> basZeros-MacBook-Pro:trunk baszero$ cat MailUtil_Patch_Balz.diff
> Index: src/core/java/org/wyona/yanel/core/util/MailUtil.java
> ===================================================================
> --- src/core/java/org/wyona/yanel/core/util/MailUtil.java (revision 52939)
> +++ src/core/java/org/wyona/yanel/core/util/MailUtil.java (working copy)
> @@ -44,7 +44,7 @@
> *
> */
> public static void send(String smtpHost, int smtpPort, String
> from, String to, String subject, String content) throws
> AddressException, MessagingException {
> - send(null, -1, from, null, to, subject, content);
> + send(smtpHost, smtpPort, from, null, to, subject, content);
> }
>
> /**
>
>
> Kannst du mir sagen, sobald der Patch im Trunk ist? Ich werde das für
> Zwischengas sicherlich tracken.
>
> Gruss
> Balz
More information about the Yanel-development
mailing list