Giter Club home page Giter Club logo

akijavautils's People

Contributors

tomoakichen avatar tomoakichensinica avatar

Watchers

 avatar  avatar

Forkers

tomoakichen

akijavautils's Issues

使用上的方便性改進

checkPassword 可能會混淆,要不要 userAccessPassword 是個包裝過的 Entity (但其實也只是包一個String) 而不是純String ?

[AkiMail] 當信件內容是html,要附上檔案會錯

原因在於附件在程式上可能是 File、MimeBodyPart。而在 sendHtmlContent() 內不像 sendPlainText 般兩種會分開處理。

導致

Exception in thread "Thread-7" java.lang.ClassCastException: class javax.mail.internet.MimeBodyPart cannot be cast to class java.io.File (javax.mail.internet.MimeBodyPart is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @61241ed4; java.io.File is in module java.base of loader 'bootstrap')

JavaToXml 遺失 namespace 定義(prefix?) 資訊

  • Player Class (最外層

    @JsonPropertyOrder({"xmlns:aki", "table", "aki:player"}) //不要問為什麼 JSON Annotation 直接用在 XML ,反正可以用
    @JacksonXmlRootElement(localName = "aki:player")
    public class Player extends JacksonNameSpacedXmlEntity {
    
      
    @JacksonXmlProperty(localName = "xmlns:aki", isAttribute = true)    
    protected String xmlNameSpace = "xxxxx";
    
    @JacksonXmlProperty(localName = "aki:datas")
    private ASPaperDatas paperDatas;
  • PlayerDatas Class

    @JsonInclude(Include.NON_NULL)
    public class PlayerDatas {
  • 轉換的XML:

    <aki:player>
    	<aki:datas>
            <name>INSERT</name>		
    </aki:datas>
    </aki:rows> 

不太確定是哪個導致,@JsonPropertyOrder

[AkiMail] 寄送給多個 Reciever時會 relay denied

02-11月-2022 15:32:39.258 INFO [smtpserver-executor-305] org.apache.james.protocols.netty.BasicChannelUpstreamHandler.channelConnected:112 - Connection established from 127.0.0.1
02-11月-2022 15:32:39.296 INFO [smtpserver-executor-318] org.apache.james.smtpserver.SendMailHandler.onMessage:74 - Successfully spooled mail Mail1667374359274-c3447122-25f1-47a9-8b8b-5e4e46c3802c from MaybeS ender{mailAddress=Optional[[email protected]]} on 127.0.0.1/127.0.0.1 for [[email protected], [email protected]]
02-11月-2022 15:32:39.302 INFO [smtpserver-executor-308] org.apache.james.protocols.netty.BasicChannelUpstreamHandler.channelClosed:190 - Connection closed for 127.0.0.1
02-11月-2022 15:32:40.606 INFO [elastic-32] org.apache.james.transport.mailets.ToRepository.service:78 - Storing mail Mail1667374359274-c3447122-25f1-47a9-8b8b-5e4e46c3802c-to-gmail.com-!6251308 in MailReposi toryUrl{value=file://var/mail/relay-denied}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.