Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要良好的邮件库来与邮件服务器一起发送和接收邮件。我在 Google 中搜索并找到Zeta Mail Component,但我不知道在 Laravel 5.x 项目中使用。我应该怎么办?如何添加 Laravel 项目并使用它?
1.通过作曲家安装像这样'作曲家需要zetacomponents / mail'或通过将它添加到你的composer.json 2.在你的laravel控制器中你可以这样做
$imap = new \ezcMailImapTransport( "imap.example.com" );
这个对我有用。