Code Monkey home page Code Monkey logo

mymail's Introduction

Dframe - PHP Framework

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

php framework dframe logo

The basic framework to help you build MVC project.

What's included?

Requirements

  • PHP >= 8.1
  • Rewrite Module (Nginx/Apache )
  • Composer

Installation

Framework Core

$ composer require dframe/dframe

Demo skeleton project

$ composer create-project dframe/dframe-demo project_name

License

Open-sourced software licensed under the MIT license

mymail's People

Contributors

dusta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

amadeuszxd

mymail's Issues

camelCase Config

Before

<?php

return [
    'Hosts' => ['primaryHostName.tld', 'backupHostName.tld'],    // Specify main and backup SMTP servers
    'SMTPAuth' => true,    // Enable SMTP authentication
    'Username' => 'Username@mail',    // SMTP username
    'Password' => '',    // SMTP password
    'SMTPSecure' => 'tls',    // Enable TLS encryption, `ssl` also accepted
    'Port' => 587,    // Port

    'SenderName' => PROJECT_NAME,    //Name of default sender
    'SenderEmail' => 'senderMail@mail'    //Default sender's address
];

After

<?php

return [
    /**
     * Specify main and backup SMTP servers
     */
    'hosts' => ['primaryHostName.tld', 'backupHostName.tld'],

    /**
     * Enable SMTP authentication
     */
    'smtpAuth' => true,

    /**
     * SMTP username
     */
    'username' => 'Username@mail',

    /**
     * SMTP password
     */
    'password' => '',

    /**
     * Enable TLS encryption, `ssl` also accepted
     */
    'smtpSecure' => 'tls',

    /**
     * Port
     */
    'port' => 587,

    /**
     * Name of default sender
     */
    'senderName' => PROJECT_NAME,

    /**
     * Default sender's address
     */
    'senderEmail' => 'senderMail@mail'
];

Bugfix typo

before

$config['CharSet']

after

$config['charSet'];

Undefined addAttachment

Undefined addAttachment

src/MyMail.php

  if (!empty($this->addAttachment)) {
            foreach ($addAttachment as $key => $attachment) {
                $this->mailObject->addAttachment = $attachment;
            }
        }
  }

Should be

  if (!empty($this->addAttachment)) {
            foreach ($this->addAttachment as $key => $attachment) {
                $this->mailObject->addAttachment = $attachment;
            }
        }
  }

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.