You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2008/10/10 23:48:46 UTC

DO NOT REPLY [Bug 45990] New: SMTP Appender to support ReplyTo

https://issues.apache.org/bugzilla/show_bug.cgi?id=45990

           Summary: SMTP Appender to support ReplyTo
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: steffen.busch@gmail.com


log4j 1.2's SMTPAppender supports the following adresses:
-from (1)
  <param name="from"   value="log4j@hostname.example.org" />
-to (many)
  <param name="to" value="somebody@example.org,alert@example.org" />
-cc (many)
  <param name="cc" value="one@example.org,two@example.org" />
-bcc (many)
  <param name="bcc" value="three@example.org,four@example.org" />

Sometimes, it's necessary to set the from address to an internal address
that works with the SMTP server for outgoing messages, but when a receiver
replies to the address, it won't because that internal address is unknown
to the receivers SMTP.

The solution for this is to specify one (or more) ReplyTo addresses. Currently,
the SMTP Appender does not support this:
  <param name="replyTo"   value="support@example.org" />
or
  <param name="replyTo"   value="support@example.org,support-alert@example.org"
/>


The attached changes in src/main/java/org/apache/log4j/net/SMTPAppender.java
would implement this capability.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 45990] SMTP Appender to support ReplyTo

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45990





--- Comment #1 from Steffen Busch <st...@gmail.com>  2008-10-10 14:49:24 PST ---
Created an attachment (id=22713)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22713)
svn diff on src/main/java/org/apache/log4j/net/SMTPAppender.java


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 45990] SMTP Appender to support ReplyTo

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45990


Curt Arnold <ca...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Curt Arnold <ca...@apache.org>  2008-10-15 12:35:09 PST ---
Committed rev 705003.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


DO NOT REPLY [Bug 45990] SMTP Appender to support ReplyTo

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45990


Steffen Busch <st...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows XP                  |All
           Platform|PC                          |All




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org