Share My Creation Command line emailer

Discussion in 'B4J Share Your Creations' started by JakeBullet70, Sep 14, 2015.

  1. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

    Hi all.

    Thought I would share this b4j program. We use it in our CI system to email the output files of build to developers.

    Very simple to use. Take a look at the pic. Source is included. You need to add your own email credentials. File is deleted on successful send.

    Tweak, tear apart and have fun!

    FYI: I converted the jar file to an EXE.


    emailer.png
     

    Attached Files:

    rwblinn, Erel and thedesolatesoul like this.
  2. sorex

    sorex Expert Licensed User

    Jake,

    Do you need to do anything special to make a console app?
     
  3. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

    This was my 1st console app. Log is the same as .NET console.write
    Really not that hard.
     
  4. sorex

    sorex Expert Licensed User

    ok, but in .NET you select that it is a console app.

    I thought B4J projects were GUI by default.
     
  5. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

  6. sorex

    sorex Expert Licensed User

    thanks for the hint!

    I usually create an empty project when I first use a B4x product and store it in an _empty folder and copy that when I want to start a new project.

    Then you obviously miss the stuff like above.
     
  7. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

    No worries, If I remembered half of what I missed by brain would blow chunks... LOL
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice