Hi, I am going to send emails using gmail smtp from My app to My collaborators. I am working in localhost with WAMP Server. I need free email sending option. plz give me good reference or tutorials links.
Ahh I see, that isn't an issue as you can test emails with a few "verified" email addresses that you own. And then... when you're ready to push it to production, you just verify your real domain like www.somename.com and you're good to go!
No. Just use your Gmail username (email address) and your password. Just don't store them directly in the config/mail.php file. Store them as environment variables in your .env file.
Give SparkPost.com a try, they have a free plan well above 1k/mo. When you set it up you will need a domain but you can use any domain for testing. You don't have to validate through an [email protected] . Just click to go to dashboard and setup the spf and dkim txt records by changing those where your domain's DNS is. (registrar or cloudflare for my projects).
Once you have that setup create an API key in spark post just check Transmissions: Read/Write and leave allowed IP blank for your local dev env. For production create a new one and enter your server IP.
if any one use gmail smtp they can follow this way simply
first go to
https://myaccount.google.com/security#connectedapps and
Take a look at the Sign-in & security -> Connected apps & sites -> Allow less secure apps settings.
You must turn the option "Allow less secure apps" ON.
@Amalmax
I've tried these exact settings on my homestead (version 0.4.1) local machine and I turned on the setting "Allow less secure apps". I also tried pretty much all I could find over the web, but still, still, I get this annoying message when I try to get the password reset link by email:
"Connection could not be established with host smtp.gmail.com"