Giter VIP home page Giter VIP logo

mailing's Introduction

Website ๐Ÿš€ contributte.org | Contact ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป f3l1x.io | Twitter ๐Ÿฆ @contributte

Usage

To install latest version of contributte/mailing use Composer.

composer require contributte/mailing

Documentation

For details on how to use this package, check out our documentation.

Versions

State Version Branch Nette PHP
dev ^0.7 master 3.1+ >=8.1
stable ^0.6 master 3.1+ >=8.1

Development

See how to contribute to this package. This package is currently maintained by these authors.


Consider to support contributte development team. Also thank you for using this package.

mailing's People

Contributors

chemix avatar dakorpar avatar f3l1x avatar kubomikita avatar mabar avatar petrparolek avatar roman3349 avatar vody105 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mailing's Issues

Possibility of overriding main classes

The documentation states:

It has 4 main classes, MailBuilder, MailBuilderFactory, MailSender and MailTemplateFactory. You can override each of them.

Could you please provide any working example of this? Is it possible to override MailBuilder without overriding the whole Contributte\Mailing\DI\MailingExtension?

It seems that MailingExtension does not offer any configuration options to actually "override" anything. Perhaps, I am supposed to use some Nette DI features I am not aware of.

Thank your for help.

Layout in different folder then template file, image src attribute in layout looks into template folder and not layout

Not sure if there's some better way to do this, maybe some variable or something we can use in src tag of image so it allways looks in folder where the source file is (DIR)

example code
logo.png location = /var/www/project/app/mails/logo.png
@layout.latte (/var/www/project/app/mails/@layout.latte)

...
<div>
<img src="logo.png">
</div>
...

example_mail.latte (/var/www/project/app/some-other-folder/example_mail.latte)

you will get exception
Unable to read file '/var/www/project/app/some-other-folder/logo.png. Failed to open stream: No such file or directory

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.