1 17 18 package org.apache.james.transport.mailets; 19 20 import java.io.PrintWriter ; 21 import java.io.StringWriter ; 22 23 import java.util.Collection ; 24 import java.util.Date ; 25 import java.util.Enumeration ; 26 import java.util.HashSet ; 27 import java.util.Iterator ; 28 import java.util.Locale ; 29 import java.util.StringTokenizer ; 30 import java.util.ArrayList ; 31 32 33 import javax.mail.Message ; 34 import javax.mail.MessagingException ; 35 import javax.mail.Session ; 36 import javax.mail.internet.InternetAddress ; 37 import javax.mail.internet.MimeBodyPart ; 38 import javax.mail.internet.MimeMessage ; 39 import javax.mail.internet.MimeMultipart ; 40 41 import org.apache.james.core.MailImpl; 42 43 import org.apache.mailet.GenericMailet; 44 import org.apache.mailet.Mail; 45 import org.apache.mailet.MailAddress; 46 47 48 270 271 public class Resend extends AbstractRedirect { 272 273 278 public String getMailetInfo() { 279 return "Redirect Mailet"; 280 } 281 282 283 protected String [] getAllowedInitParameters() { 284 String [] allowedArray = { 285 "debug", 287 "passThrough", 288 "fakeDomainCheck", 289 "inline", 290 "attachment", 291 "message", 292 "recipients", 293 "to", 294 "replyTo", 295 "replyto", 296 "reversePath", 297 "sender", 298 "subject", 299 "prefix", 300 "attachError", 301 "isReply" 302 }; 303 return allowedArray; 304 } 305 306 307 308 309 310 311 312 313 314 } 315 | Popular Tags |