Ehsan Ali
Ehsan Ali

Reputation: 1432

How to use Zeta Component - Mail in Laravel

I need to good Mail Library to work with mail server for send and receive mail. I search in Google and find Zeta Mail Component, but I don't know to use in Laravel 5.x project. What should I do? How to add Laravel project and use it?

Upvotes: 0

Views: 150

Answers (1)

Jayish
Jayish

Reputation: 76

1.install via composer like this 'composer require zetacomponents/mail' or by adding it inside your composer.json 2.Inside your laravel controller you can then do this

    $imap = new \ezcMailImapTransport( "imap.example.com" );

it works for me.

Upvotes: 1

Related Questions