Git Product home page Git Product logo

mail's Introduction

Rest-full Mail

About Rest-full Mail

Rest-full Mail is a small part of the Rest-Full framework.

You can find the application at: rest-full/app and you can also see the framework skeleton at: rest-full/rest-full.

Installation

  • Download Composer or update composer self-update.
  • Run php composer.phar require rest-full/mail or composer installed globally compser require rest-full/mail or composer.json "rest-full/mail": "1.0.0" and install or update.

Usage

This Mail

<?php

require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__.'/../config/pathServer.php';

use Restfull\Mail\Email;


(new Email(
    [
        'linguage' => 'br',
        'html' => true,
        'host' => '',
        'port' => 587,
        'SMTP' => ['auth' => true, 'secure' => false, 'debug' => 0],
        'user' => '',
        'pass' => ''
    ]
))->addressing(
    ['email' => '[email protected]', 'name' => 'Simão Web Solutions'],
    ['email' => '[email protected]', 'name' => 'José Luis']
)->send('test','teste');

License

The rest-full framework is open-sourced software licensed under the MIT license.

mail's People

Contributors

rest-full avatar

Watchers

 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.