Coder Social home page Coder Social logo

mailer-app's Introduction

Mailer-App

coreERP-Mailer Service Application

This is the mailer service for coreERP that can be installed on the application server via systemd.

Dependencies

  • composer update ## or tar -zxvf vendor.tar.gz
  • PHP 7.0

Installation

After cloning this git repository, open a ssh terminal to the server and type the following ::

$ sudo nano /etc/systemd/system/coreERP-mailer.service

Copy the following code into the file with changes to /path/to/coreERP (ensure that this reflects the proper path that you used for download of source)

::

[Unit]
Description=CoreERP auto mailer service

[Service]
ExecStart=/usr/bin/php /path-to/mailer-app/SendMail.php '/path-to/cwfconfig.php'
User=root
Restart=always
RestartSec=30


[Install]
WantedBy=multi-user.target

Remember to change the /path-to/mailer-app and /path-to/cwfconfig.php to reflect the proper path of application install on the local drive. Save and close (ctrl+o), (ctrl+x).

This script would ensure that every time your server is restarted, the script would automatically start.

To ensure that it starts automatically with every reboot ::

$ sudo systemctl enable coreERP-mailer
$ sudo systemctl start coreERP-mailer

To verify the status, type ::

$ sudo service coreERP-mailer status

If you run into any problems, look into the log file situated in /var/log/syslog

mailer-app's People

Contributors

vspl-release-manager avatar vspl-girish avatar

Watchers

James Cloos 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.