Code Monkey home page Code Monkey logo

micu-admin / toolbox Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 16.31 MB

Toolbox is a versatile repository designed to simplify various business utilities. It offers a collection of handy tools, scripts, and resources for a wide range of miscellaneous business needs. Whether you're looking for mailers to discord bots Toolbox has you covered. Always expanding.

JavaScript 9.17% CSS 1.33% TypeScript 84.69% HTML 2.67% Dockerfile 0.09% Go 0.59% C# 0.42% MDX 1.04%

toolbox's People

Contributors

hossam1231 avatar

Watchers

 avatar

toolbox's Issues

Initialise a mailer in PHP

Get Started on Mailer Project

Overview

Begin working on the Mailer project written in PHP core located in the 'mailer' folder within this repository. The goal is to create an application that can be containerised using Docker and deployed on an Azure or AWS virtual machine with a specific IP address. This setup is crucial to ensure that our emails reach the inbox successfully We should also explore the possibility of using a free SMTP service or hosting our SMTP server.

Fallback Plan

In case our emails do not land in the client's inbox, we want to have a fallback option by integrating Amazon SES. However, this may require further investigation to understand the implementation details.

API Specification

To start with, let's create an open API endpoint with the following parameters:

  • email (string)
  • to (string, validated with regex for email format)
  • from (string)
  • message (string)
  • title (string)
  • priority (boolean)

The purpose of this endpoint is to use our email function that relies on a SMTP connection to send the email. Additionally, it will log the email's status, whether it was successfully sent or failed, in a JSON file (This is only a temporary measure until we start using google big-data). If the email fails to send, it will also be added to a retry queue in local storage for future attempts sent using Amazon SES.

Location

You can find this task in the 'apps/mailer' directory within the repository.

Happy coding!

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.