apikey is whatever password they gave to you for that user. You get a username and an apikey. It has nothing to do with any names of things in your app. You'll also want to enable the encryption. https://sendgrid.com/docs/for-developers/sending-email/laravel/
Aug 25, 2019
8
Level 14
SendGrid
I'm trying to setup SendGrid to work with Laravel, do you need any magic trick because it wound verify.
This is the config, SendGrid provide:
Server smtp.sendgrid.net
Ports
25, 587 (for unencrypted/TLS connections)
465 (for SSL connections)
Username apikey
Password YOUR_API_KEY
What is suppose to be in apikey? Is it the name I give the api or just apikey?
Here is what I'm doing in Laravel:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.sendgrid.net
MAIL_PORT=587
MAIL_USERNAME=parkandfly
MAIL_PASSWORD=SG.****
parkandfly is the name of the api
Level 122
username needs to be apikey
password needs to be the api key you generated for your application
1 like
Please or to participate in this conversation.