2017 © Pedro Peláez
 

library nette-mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

image

jandrabek/nette-mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

  • Thursday, April 7, 2016
  • by repli2dev
  • Repository
  • 1 Watchers
  • 9 Stars
  • 2,575 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 1 % Grown

The README.md

This panel has been deprecated in favor of Nette Extras Mail Panel which also supports attachments and showing source of messages., (*1)

See: https://componette.com/nextras/mail-panel/
GIT: https://github.com/nextras/mail-panel, (*2)

MailPanel

Panel for Nette Debug panel. Instead of sending, all e-mails are stored into session from which they can be viewed in debug bar. Supports plaintexts and HTML e-mail, multiple recipients etc., (*3)

  • Authors: Jan Marek, Jan Drábek
  • License: New BSD

Based on http://git.yavanna.cz/p/mailpanel/ by Jan Drábek and, (*4)

Demo

, (*5)

Installation

Install library via composer:, (*6)

composer require jandrabek/nette-mailpanel

Register different mailer in config.neon (or in something like config.development.neon), (*7)

services:
    nette.mailer: JanDrabek\MailPanel\SessionMailer
nette:
    debugger:
        bar: [JanDrabek\MailPanel\MailPanel]
# Or when you register multiple extensions
#       bar:
#           - JanDrabek\MailPanel\MailPanel

Usage

class ExamplePresenter extends BasePresenter {

    private $mailer;

    public function injectMailer(Nette\Mail\IMailer $mailer) {
        $this->mailer = $mailer;
    }

    public function renderDefault() {
        $mail = new Nette\Mail\Message;
        $mail->setFrom('foo@bar.net');
        $mail->addTo('john@doe.cz');
        $mail->setSubject('Subject');
        $mail->setBody('Message body');

        $this->mailer->send($mail);
    }

}

Potential problems

Due to the method of populating mails into the iframe element with javascript, there can be some problems. When it happen, please, send me an e-mail or open an issue. Thanks :), (*8)

The Versions

07/04 2016

dev-master

9999999-dev http://addons.nette.org/cs/mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

  Sources   Download

BSD-3-Clause

The Requires

 

mail framework debugging mailing mail panel mailpanel sessionmailer

02/02 2015

3.2.1

3.2.1.0 http://addons.nette.org/cs/mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

  Sources   Download

BSD-3-Clause

The Requires

 

mail framework debugging mailing mail panel mailpanel sessionmailer

21/07 2014

3.2

3.2.0.0 http://addons.nette.org/cs/mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

  Sources   Download

BSD-3-Clause

The Requires

 

mail framework debugging mailing mail panel mailpanel sessionmailer

06/05 2014

3.1

3.1.0.0 http://addons.nette.org/cs/mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

  Sources   Download

BSD-3-Clause

The Requires

 

mail framework debugging mailing mail panel mailpanel sessionmailer

03/03 2014

3.0.1

3.0.1.0 http://addons.nette.org/cs/mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

  Sources   Download

BSD-3-Clause

The Requires

 

mail framework debugging mailing mail panel mailpanel sessionmailer

08/02 2014

3.0

3.0.0.0 http://addons.nette.org/cs/mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

  Sources   Download

BSD-3-Clause

The Requires

 

mail framework debugging mailing mail panel mailpanel sessionmailer

29/10 2013

2.1.x-dev

2.1.9999999.9999999-dev http://addons.nette.org/cs/mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

  Sources   Download

BSD-3-Clause

The Requires

 

mail framework debugging mailing mail panel mailpanel sessionmailer

20/09 2012

2.1

2.1.0.0 http://addons.nette.org/cs/mailpanel

MailPanel is extension for Nette Framework which captures sent e-mails in development mode and shows them from debugger bar.

  Sources   Download

BSD-3-Clause

The Requires

 

mail framework debugging mailing mail panel mailpanel sessionmailer