Coder Social home page Coder Social logo

emailtemplate's People

Contributors

brendo avatar

Watchers

 avatar  avatar  avatar

Forkers

smartnetguru

emailtemplate's Issues

OpenSSL errors 1409F07F in certain circumstances

While using this repo on a new server, we came across the following error:

E_WARNING: fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write

The error was getting triggered from ../vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php#232

Researching the problem revealed it can be a problem when daemonizing SwiftMailer. I don't believe that happens in this library.

I have spent some time debugging and found the problem goes away when createSwiftTransport() in EmailTemplate\Mailer\SwiftMailer.php is not assigning the instance of Swift_SmtpTransport to self::$mailer

I am unclear if removing this feature (treating the instance of Swift_SmtpTransport as a singleton) has any unwanted side effects.

For now, it has solved our problem. I'll issue a pull request shortly.

Expression is not allowed as field default value

I am receiving a syntax error for private $templatePath = DIR . '/../../templates'; in EmailTemplate\Message\EmailTemplate class because expression is not allowed as field default value.

This happens with php version 5.4.39.

I don`t think this is a big issue, but just wanted to let you know.

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.