/email_project

Primary LanguageTypeScript

Email Project

This project is about the Server Email that you can send and read email

Installation

Use the package manager npm to install this project.

npm install

Usage

Method: GET

Route : /

{
    "configEmail": {
        "email": "mail",
        "password": "password"
    },
    "configMessage": {
        "from": "mail_to_send",
        "to": "mail_to_receive",
        "subject": "subject_mail",
        "text": "body_of_mail"
    }
}

Method: GET

Route: /read

{
    "configEmail": {
        "email": "mail",
        "password": "password",
        "office365": true 
    }
}

Method: GET

Route: /readJob

{
	"email" : "mail"
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT