邮件陷阱连接错误laravel 5.3

时间:2018-07-02 09:30:15

标签: php laravel-5

我想使用laravel 5.3测试发送邮件,我正在使用mailable。但我收到此错误:class CollectionViewCell: UICollectionViewCell { private var widthConstraint: NSLayoutConstraint? ... override init(frame: CGRect) { ... // Create width constraint to set it later. widthConstraint = contentView.widthAnchor.constraint(equalToConstant: 0) } override func updateConstraints() { // Set width constraint to superview's width. widthConstraint?.constant = superview?.bounds.width ?? 0 widthConstraint?.isActive = true super.updateConstraints() } ... }

我的环境配置是:

Connection could not be established with host mailtrap.io [Connection timed out #110]

我还使用以下方法清除了缓存

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=465
MAIL_USERNAME=xxxxxxxxxxxxxx
MAIL_PASSWORD=xxxxxxxxxxxxxx
MAIL_ENCRYPTION=null

但仍然无法正常工作。

0 个答案:

没有答案