Git Product home page Git Product logo

teaching-heigvd-res-2017-labo-03-smtp's Introduction

README:

This project was created for an assignment from the RES course at HEIG-VD engineering school, in Yverdon, Switzerland. The aim was to create a simple SMTP client that could send predefined emails randomly between a given list of email adresses. 

How to use it:

clone the repo and either:
- run the .jar program under out/artifacts, it takes 3 arguments: the number of groups you want to create, the smtp server and the port used.
- build and run it directly from your favorite IDE, you can do as much improvements as you like.

you should edit the emails.txt and texts.txt to set respectively the emails you want to make participate and the body of emails. Emails should be displayed 1 per line, texts should be separated by a line with only one dot. You can specify a subject by writing in the beginning: « subject: » + anything. For now, make sure to let one empty line after the subject.
 

If you don’t want to try it on a real SMTP server, you can use a mock server. It is a tool designed to behave as a server « talking » different protocols (here we used MockMock, a SMTP server with an HTTP interface) for testing purposes, so you can test the program without sending request to a real server.
To use MockMock, just download the .jar @ https://github.com/tweakers-dev/MockMock and follow the instructions to launch it. You will be able to send him emails which will be displayed on a webpage interface.

Enjoy! =)

teaching-heigvd-res-2017-labo-03-smtp's People

Contributors

maxcaduff avatar

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.