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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


log4j 1.2's SMTPAppender supports the following adresses:
-from (1)
  <param name="from"   value="[EMAIL PROTECTED]" />
-to (many)
  <param name="to" value="[EMAIL PROTECTED],[EMAIL PROTECTED]" />
-cc (many)
  <param name="cc" value="[EMAIL PROTECTED],[EMAIL PROTECTED]" />
-bcc (many)
  <param name="bcc" value="[EMAIL PROTECTED],[EMAIL PROTECTED]" />

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="[EMAIL PROTECTED]" />
or
  <param name="replyTo"   value="[EMAIL PROTECTED],[EMAIL PROTECTED]"
/>


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to