Giter Site home page Giter Site logo

transmis's People

Contributors

draychou avatar dss886 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

transmis's Issues

线程里不能发Toast

在MailSender.send(String title, String content)方法中,如果发生Exception了,这个Toast是发不出来的,且会造成程序崩溃

    public void send(String title, String content) {
        mExecutor.execute(() -> {
            try {
                Message msg = new MimeMessage(session);
                msg.setSubject(title);
                msg.setText(content);
                msg.setFrom(new InternetAddress(email, name));

                Transport transport = session.getTransport();
                transport.connect(host, email, password);
                transport.sendMessage(msg, new Address[] { new InternetAddress(receiveAddress) });
                transport.close();
            } catch (MessagingException | UnsupportedEncodingException e) {
                Toast.makeText(App.me(), e.getMessage(), Toast.LENGTH_SHORT).show(); //看这里
                e.printStackTrace();
            }
        });
    }

M1 E 安卓7.0 不转发短信,

问题反馈:
1,能转发未接电(TG秒收),但不能转发任何短信(TG_钉钉都没反应)
2,钉钉配置好,点击测试提示成功,收不到消息。钉钉机器人TOKEN没有问题。TG秒收。

另外 建议:
1,建议TG只填TOKEN不要填完整URL,比较麻烦。
2,建议填值的地方明码显示
3,建议添加企业微信群机器人
4,建议添加企业微信应用消息,因为TG要爱国。
5,建议短信和未接电来处添加一下测试。

谢谢。

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.