com.sun.mail.util.logging.MailHandler.class Maven / Gradle / Ivy
The newest version!
???? 0K
????
?
?
??
?? ??
??
??
??
??
B? ??
?? ??
??
??
??
B?
??
??
?? ?? ?? ??
??
??
??
?? ?? ??
??
?? ??
???
%??
'??
'?
B?
'??
??
???
??
'???
??
'?
3?
?? ???
????
??
?? ??
???
???
D?
?? ?? ??
3? ?? ?? ??? ?
N?
?? ??
?????
U?
T?
??
??
[?? ??
??
??? ???
??
?? ??
?? ???
?? ???
??
D?
??
? ?
U
r?
t? ?
? ?
?
??
q
?
U
?
U
?
?
?
?
N
?
??
=
?
U?
?
?!
?"
N? ?#
$%&
U'
?(
)*+
?,-.?
?/0
?1
2
3
)45
??6
?7
??8 ?9 ?:
?;
?<
?=
?>
?@
?A
BC
DE
DF
[?
$G
?H
?I
?J
?K
?L
?M
?N
?O
?P
?Q
?R
?S
?T
?UV
UW
X
?YZ[\
U]^
U_
q`abc
?de
qf
??
?ghijk
?l
qmn
?o ?p
<q
?rs
tuv
?wx
?y
qz
?{|
?}~
q???
??
??
?
??
??
??
D???
?? ???
?
??
??
??
??
??
??
??
??
??
??
??
???
'
?
?
?%
??
??
'??
?
?
??
?
??
??'
[?
??
??????
2?
'?
??
<?
??
??
?
??
?
???
?X?
??
??
??
???
<?
??
??
???
A?
??
A?
??
??
??????????
??
???
R?
??
R?
??
??
?
?
??
???
?
2??
?
?????
??
??? ??????
[X?
q?
??
?
??? s?
??? s?? s?
??
??
??
??
?
??
?
?
?
?
???
?
B
?
?
q?
U
U
U !"
D#
p$
p%
p& ?'(
))*+
U,-.
)/0
123456789:
2;
?<
=
>
?@
AB
CD
?EFGH
??
I
J
?KL
?MNO
?P
?Q
?R
S
?T
??
?
?? ?U
VWXY
?Z
??[
'\]
?^_
?`a
?? ?b ?cdef
?ghi TailNameFormatter InnerClasses GetAndSetContext DefaultAuthenticator
EMPTY_FILTERS [Ljava/util/logging/Filter; EMPTY_FORMATTERS [Ljava/util/logging/Formatter; MIN_HEADER_SIZE I
ConstantValue offValue GET_AND_SET_CCL 8Lcom/sun/mail/util/logging/MailHandler$GetAndSetContext; MUTEX Ljava/lang/ThreadLocal;
MUTEX_PUBLISH Ljava/lang/Object; MUTEX_REPORT REMOVE Ljava/lang/reflect/Method; sealed Z isWriting mailProps Ljava/util/Properties; auth Ljavax/mail/Authenticator; session Ljavax/mail/Session; data [Ljava/util/logging/LogRecord; size capacity
comparator Ljava/util/Comparator; subjectFormatter Ljava/util/logging/Formatter; pushLevel Ljava/util/logging/Level;
pushFilter Ljava/util/logging/Filter; attachmentFilters attachmentFormatters attachmentNames contentTypes Ljavax/activation/FileTypeMap; +class$com$sun$mail$util$logging$MailHandler Ljava/lang/Class; Synthetic class$java$lang$ThreadLocal $assertionsDisabled array$Ljava$util$logging$Filter "array$Ljava$util$logging$Formatter class$java$lang$Throwable class$java$lang$String ()V Code LineNumberTable LocalVariableTable this 'Lcom/sun/mail/util/logging/MailHandler; (I)V (Ljava/util/Properties;)V props
isLoggable (Ljava/util/logging/LogRecord;)Z record Ljava/util/logging/LogRecord;
levelValue body publish (Ljava/util/logging/LogRecord;)V publish0 ctx Ljavax/mail/MessageContext; priority reportUnPublishedError f #Ljava/util/logging/SimpleFormatter; msg Ljava/lang/String; e Ljava/lang/Exception; tryMutex ()Z releaseMutex ignore Ljava/lang/RuntimeException; push flush close ccl setLevel (Ljava/util/logging/Level;)V newLevel getPushLevel ()Ljava/util/logging/Level; setPushLevel level
getPushFilter ()Ljava/util/logging/Filter;
setPushFilter (Ljava/util/logging/Filter;)V filter
getComparator ()Ljava/util/Comparator;
setComparator (Ljava/util/Comparator;)V c getCapacity ()I getAuthenticator ()Ljavax/mail/Authenticator; setAuthenticator (Ljavax/mail/Authenticator;)V ([C)V password [C setAuthenticator0 settings setMailProperties setMailProperties0 getMailProperties ()Ljava/util/Properties; getAttachmentFilters ()[Ljava/util/logging/Filter; setAttachmentFilters ([Ljava/util/logging/Filter;)V filters getAttachmentFormatters ()[Ljava/util/logging/Formatter;
formatters setAttachmentFormatters !([Ljava/util/logging/Formatter;)V i getAttachmentNames setAttachmentNames ([Ljava/lang/String;)V name names [Ljava/lang/String;
getSubject ()Ljava/util/logging/Formatter;
setSubject (Ljava/lang/String;)V subject (Ljava/util/logging/Formatter;)V format reportError +(Ljava/lang/String;Ljava/lang/Exception;I)V ex code checkAccess
contentTypeOf &(Ljava/lang/String;)Ljava/lang/String; encoding in Ljava/io/ByteArrayInputStream; IOE Ljava/io/IOException; MAX_CHARS head isMissingContent ,(Ljavax/mail/Message;Ljava/lang/Throwable;)Z cause Ljava/lang/Throwable; RE txt noContent Ljavax/mail/Message; t -(Ljavax/mail/Message;Ljava/lang/Exception;I)V rawMe Ljavax/mail/MessagingException; rawIo getContentType type getEncodingName ()Ljava/lang/String;
setContent O(Ljavax/mail/internet/MimeBodyPart;Ljava/lang/CharSequence;Ljava/lang/String;)V source Ljavax/activation/DataSource; part "Ljavax/mail/internet/MimeBodyPart; buf Ljava/lang/CharSequence;
Exceptions contentWithEncoding 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ct !Ljavax/mail/internet/ContentType; ME setCapacity0 newCapacity readOnlyAttachmentFilters emptyFormatterArray emptyFilterArray fixUpAttachmentNames fixed expect current fixUpAttachmentFilters copyOf )([Ljava/lang/Object;I)[Ljava/lang/Object; a [Ljava/lang/Object; copy :([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object; len reset grow init (Z)V inherit manager Ljava/util/logging/LogManager; p isEmpty (Ljava/lang/String;)Z s hasValue initAttachmentFilters 3(Ljava/util/logging/LogManager;Ljava/lang/String;)V SE Ljava/lang/SecurityException; E list initAttachmentFormaters CNFE NPE initAttachmentNames literal "Ljava/lang/ClassNotFoundException; Ljava/lang/ClassCastException; initAuthenticator literalAuth initLevel val fail
initFilter initCapacity value DEFAULT_CAPACITY initEncoding UEE &Ljava/io/UnsupportedEncodingException; initErrorManager em Ljava/util/logging/ErrorManager;
initFormatter formatter initComparator
initPushLevel initPushFilter initSubject literalSubject isAttachmentLoggable
isPushable (ZI)V send (Ljavax/mail/MessageContext;ZI)V sort writeLogRecords (I)Ljavax/mail/MessageContext; af formatted r locale Ljava/util/Locale; ix !Ljavax/mail/internet/MimeMessage; parts #[Ljavax/mail/internet/MimeBodyPart; buffers [Ljava/lang/StringBuffer; contentType Ljava/lang/StringBuffer;
bodyFormat
bodyFilter
lastLocale multipart #Ljavax/mail/internet/MimeMultipart; altType re verifySettings (Ljavax/mail/Session;)V check verifySettings0 )(Ljavax/mail/Session;Ljava/lang/String;)V Ljavax/mail/Transport; me any [Ljavax/mail/Address; protocol recip sfe Ljavax/mail/SendFailedException; closed all host from sender Ljavax/mail/Address; verify abort verifyAddresses ([Ljavax/mail/Address;)V reportUnexpectedSend K(Ljavax/mail/internet/MimeMessage;Ljava/lang/String;Ljava/lang/Exception;)V write fixUpContent K(Ljavax/mail/internet/MimeMessage;Ljava/lang/String;Ljava/lang/Throwable;)V subjectType msgDesc fixUpSession ()Ljavax/mail/Session; initSession proxy 0Lcom/sun/mail/util/logging/LogManagerProperties; envelopeFor (Ljavax/mail/MessageContext;Z)V
proxyProps createBodyPart $()Ljavax/mail/internet/MimeBodyPart; %(I)Ljavax/mail/internet/MimeBodyPart; index descriptionFrom ](Ljava/util/Comparator;Ljava/util/logging/Level;Ljava/util/logging/Filter;)Ljava/lang/String; l h(Ljava/util/logging/Formatter;Ljava/util/logging/Filter;Ljava/util/logging/Formatter;)Ljava/lang/String;
getClassId 1(Ljava/util/logging/Formatter;)Ljava/lang/String; toString appendFileName &(Ljavax/mail/Part;Ljava/lang/String;)V Ljavax/mail/Part; chunk appendFileName0 old
appendSubject )(Ljavax/mail/Message;Ljava/lang/String;)V appendSubject0 localeFor 1(Ljava/util/logging/LogRecord;)Ljava/util/Locale; rb Ljava/util/ResourceBundle; appendContentLang 3(Ljavax/mail/internet/MimePart;Ljava/util/Locale;)V idx header lang Ljavax/mail/internet/MimePart;
setAcceptLang (Ljavax/mail/Part;)V reportFilterError reportNullError N(Ljava/util/logging/Formatter;Ljava/util/logging/LogRecord;)Ljava/lang/String; tail C(Ljava/util/logging/Formatter;Ljava/lang/String;)Ljava/lang/String; def setMailer (Ljavax/mail/Message;)V mail k setPriority setIncompleteCopy setAutoSubmitted setFrom -(Ljavax/mail/Message;Ljava/util/Properties;)V address setDefaultFrom
setReplyTo reply setSender &[Ljavax/mail/internet/InternetAddress; tooManyAddresses >([Ljavax/mail/Address;I)Ljavax/mail/internet/AddressException; offset setRecipientj
RecipientType a(Ljavax/mail/Message;Ljava/util/Properties;Ljava/lang/String;Ljavax/mail/Message$RecipientType;)V key "Ljavax/mail/Message$RecipientType; toRawString ((Ljavax/mail/Message;)Ljava/lang/String; nbytes out Ljava/io/ByteArrayOutputStream; toMsgString )(Ljava/lang/Throwable;)Ljava/lang/String; pw Ljava/io/PrintWriter; badMimeCharset getAndSetContextClassLoader ()Ljava/lang/Object; setContextClassLoader (Ljava/lang/Object;)V attachmentMismatch 0(Ljava/lang/String;)Ljava/lang/RuntimeException; (II)Ljava/lang/RuntimeException; expected found attach U(Ljavax/mail/MessagingException;Ljava/lang/Exception;)Ljavax/mail/MessagingException; required optional
atIndexMsg (I)Ljava/lang/String; class$ %(Ljava/lang/String;)Ljava/lang/Class; x1 x0 noAccess javaOnePointFour m
SourceFile MailHandler.javakl? java/lang/ClassNotFoundException java/lang/NoClassDefFoundError-.mn??
?4p5oWpqe ?r[78?8JKs??>L.C>???.?8????t?uvwx? !java/util/logging/SimpleFormatter java/lang/StringBuffer Log record yz{|y} was not published. ?C?\ ]^D? java/lang/IllegalStateException %Recursive publish detected by thread ~?y?-??? ??? java/lang/RuntimeException java/lang/ExceptionO????ST java/util/logging/LogRecord?? java/lang/NullPointerException?.( java/lang/AssertionError-4???mi javax/mail/Authenticator :com/sun/mail/util/logging/MailHandler$DefaultAuthenticator java/lang/String-j23?? java/util/Properties
?t)% [Ljava.util.logging.Filter;???? ?????y*% [Ljava.util.logging.Formatter;???K?K!? java/util/logging/Formatter?e 7com/sun/mail/util/logging/MailHandler$TailNameFormatter "java/lang/IllegalArgumentException????? : ??????? java/io/ByteArrayInputStream??-??K??-???? java/io/IOException????? java/io/ByteArrayOutputStream?????xy javax/mail/MessagingException}~?w"#??? application/octet-stream???????
text/plain?? #javax/mail/util/ByteArrayDataSource?-? javax/activation/DataHandler-??????? javax/mail/internet/ContentType charset?? #Capacity must be greater than zero.??????DC?t????????????????????????????????????????????? .verify????43 null .attachment.filters ,?? java/util/logging/Filter???? java/lang/SecurityException Attachment filters. Length mismatch.?? .attachment.formatters?? Attachment formatter. .attachment.names java/lang/ClassCastException Attachment names. .authenticator???? .level??? .filter?] .capacity??? .encoding?? $java/io/UnsupportedEncodingException
.errorManager????
.formatter?? .comparator??
.pushLevel .pushFilter .subjectVWZ[??78??a????????. javax/mail/internet/MimeMessage->??? javax/mail/internet/MimeBodyPartKL:;??NO???RS:<EFZ> err??????ea !javax/mail/internet/MimeMultipart???? javax/mail/MessageContext-Y?.??r?? local remote #Verify must be 'local' or 'remote'. Local address is ??y??l??.?? #javax/mail/internet/InternetAddress???? mail.transport.protocol No recipient or from address.?????. com/sun/mail/smtp/SMTPTransport????Q.+, javax/mail/SendFailedException??./??????? ? mail.host mail.user mail. .host .port .user
.localhost
.localaddress?? java/net/UnknownHostException- inline?XY)* No recipient addresses.
. From? Sender address ' ' equals from address. No from or sender address.
? An empty message was sent.BC Formatted using +% java.lang.Throwable , filtered with , and named by Unable to create body. .com/sun/mail/util/logging/LogManagerProperties-3gh mail.towru mail.ccw mail.bccwkhmh`afada java/util/Date>A
attachment
Sorted using
no comparator , pushed when , and no push filter no filter,% java.lang.StringIF[4ML????? Content-Language!"?#$%&
'? Accept-Language ' was filtered from all message parts. , ()*+?,-+$% %com.sun.mail.util.logging.MailHandler.? [^\x00-\x7F] /? using the extension.01 X-Mailer
Importance High Priority urgent
X-Priority 2 Incomplete-Copy auto-submitted auto-generated mail.from?2jag34*g.
mail.reply.tok* mail.senderm3 Ignoring other senders.op567 $javax/mail/internet/AddressException89:e;? US-ASCIID? java/io/PrintWriter java/io/OutputStreamWriter-<-=>??@P.ABC java/lang/ClassLoader 6com/sun/mail/util/logging/MailHandler$GetAndSetContext #java/lang/IndexOutOfBoundsException !Attachments mismatched, expected yD but given EF
At index: GK java/lang/ThreadLocalH'% java.lang.ThreadLocal remove [Ljava/lang/Class;IJ %com/sun/mail/util/logging/MailHandler java/util/logging/Handler javax/mail/Message$RecipientType java/lang/Class forName initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; getLevel java/util/logging/Level intValue getFilter getSourceMethodName get java/lang/Object equals (Ljava/lang/Object;)Z set append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; getSequenceNumber ()J (J)Ljava/lang/StringBuffer; java/lang/Thread
currentThread ()Ljava/lang/Thread; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; java/lang/reflect/Method invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; OFF java/lang/Math abs (I)I clone length SEVERE getName
getLogManager ()Ljava/util/logging/LogManager; java/util/logging/LogManager substring (II)Ljava/lang/String; getBytes (Ljava/lang/String;)[B ([B)V
markSupported getClass ()Ljava/lang/Class; java/net/URLConnection guessContentTypeFromStream )(Ljava/io/InputStream;)Ljava/lang/String;
getMessage java/lang/Throwable getCause ()Ljava/lang/Throwable; javax/mail/Message writeTo (Ljava/io/OutputStream;)V holdsLock javax/activation/FileTypeMap equalsIgnoreCase getEncoding javax/mail/internet/MimeUtility getDefaultJavaCharset java/lang/CharSequence '(Ljava/lang/String;Ljava/lang/String;)V (Ljavax/activation/DataSource;)V setDataHandler !(Ljavax/activation/DataHandler;)V setText mimeCharset setParameter getComponentType java/lang/reflect/Array newInstance &(Ljava/lang/Class;I)Ljava/lang/Object; min (II)I java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V java/util/Arrays fill *([Ljava/lang/Object;IILjava/lang/Object;)V (([Ljava/lang/Object;Ljava/lang/Object;)V getDefaultFileTypeMap ()Ljavax/activation/FileTypeMap; concat getProperty split '(Ljava/lang/String;)[Ljava/lang/String; trim newFilter .(Ljava/lang/String;)Ljava/util/logging/Filter; newFormatter 1(Ljava/lang/String;)Ljava/util/logging/Formatter; newAuthenticator .(Ljava/lang/String;)Ljavax/mail/Authenticator; parse -(Ljava/lang/String;)Ljava/util/logging/Level; WARNING setFilter java/lang/Integer parseInt (Ljava/lang/String;)I setEncoding newErrorManager 4(Ljava/lang/String;)Ljava/util/logging/ErrorManager; setErrorManager #(Ljava/util/logging/ErrorManager;)V setFormatter
newComparator *(Ljava/lang/String;)Ljava/util/Comparator; ()Ljavax/mail/Message; javax/mail/Transport .([Ljava/lang/Object;IILjava/util/Comparator;)V java/util/Comparator compare '(Ljava/lang/Object;Ljava/lang/Object;)I setDescription getFormatter java/util/Locale getFileName setFileName addBodyPart (Ljavax/mail/BodyPart;)V (Ljavax/mail/Multipart;)V javax/mail/Session
getProperties put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; getLocalAddress ;(Ljavax/mail/Session;)Ljavax/mail/internet/InternetAddress; (C)Ljava/lang/StringBuffer; java/nio/charset/Charset .(Ljava/lang/String;)Ljava/nio/charset/Charset; saveChanges getAllRecipients ()[Ljavax/mail/Address; getFrom getTransport ,(Ljavax/mail/Address;)Ljavax/mail/Transport; ()Ljavax/mail/Transport; connect getLocalHost sendMessage ,(Ljavax/mail/Message;[Ljavax/mail/Address;)V getInvalidAddresses getValidSentAddresses
getURLName ()Ljavax/mail/URLName; javax/mail/URLName getProtocol java/net/InetAddress ()Ljava/net/InetAddress; getCanonicalHostName getByName *(Ljava/lang/String;)Ljava/net/InetAddress; *(Ljava/lang/String;Ljava/lang/Exception;)V setDisposition getSender ()Ljavax/mail/Address; validate getHeader javax/mail/Address
getReplyTo +(Ljava/util/Properties;Ljava/lang/String;)V getInstance F(Ljava/util/Properties;Ljavax/mail/Authenticator;)Ljavax/mail/Session;
getSession TO CC BCC setSentDate (Ljava/util/Date;)V javax/mail/Part getResourceBundle ()Ljava/util/ResourceBundle; java/util/ResourceBundle getLocale ()Ljava/util/Locale; getLanguage
getDefault
toLanguageTag &(Ljava/util/Locale;)Ljava/lang/String; javax/mail/internet/MimePart setHeader indexOf (Ljava/lang/String;I)I charAt (I)C lastIndexOf asList %([Ljava/lang/Object;)Ljava/util/List; getHead /(Ljava/util/logging/Handler;)Ljava/lang/String; 1(Ljava/util/logging/LogRecord;)Ljava/lang/String; getTail
encodeText
replaceAll fold '(ILjava/lang/String;)Ljava/lang/String; ;(Ljava/lang/String;Z)[Ljavax/mail/internet/InternetAddress; (Ljavax/mail/Address;)V addFrom java/util/List subList (II)Ljava/util/List;
setRecipients :(Ljavax/mail/Message$RecipientType;[Ljavax/mail/Address;)V getSize max +(Ljava/io/OutputStream;Ljava/lang/String;)V (Ljava/io/Writer;)V println printStackTrace (Ljava/io/PrintWriter;)V java/security/AccessController doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object; (I)Ljava/lang/StringBuffer; setNextException (Ljava/lang/Exception;)Z desiredAssertionStatus ALL getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; !?? ?? ?? ?? ? ? ? B
? ? ? ? !? "# $% &