PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By

Unsolved

any one use gmail smtp?

lucciano

Sep 14th, 2022 05:54 PM

Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=69-49-247-197.cprapid.com' did not match expected CN=smtp.gmail.com'

it give me this error

bobbyiliev

Sep 18th, 2022 10:15 AM

Hi there,

I've not tried Gmail SMTP recently. What are the exact settings that you are using?

What I usually do is to use SendGrid, they offer a free plan that is sufficient for most use-cases. You can follow steps 1 and 2 from this tutorial here on how to do that:

How To Create a Laravel Contact Form and Send Emails with SendGrid

Let me know how it goes!