PHP Send Emails with Sendgrid API

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 46

  • @InnestiAmbient
    @InnestiAmbient 10 місяців тому +1

    Thank you. I was able to get this up and running after seeing your video.

  • @zlcavan
    @zlcavan Рік тому +1

    Dude, you are my lifesaver!!

  • @crispinthomas2992
    @crispinthomas2992 2 роки тому +1

    Thank you so much for this. I was stuck for a couple days but following you step by step worked great. The environmental variable was also my sticking point.

  • @Jade-cb5st
    @Jade-cb5st 2 роки тому +1

    You're an absolute star for this!

  • @sharenhuff7969
    @sharenhuff7969 3 роки тому +1

    Thank you so much. The API Key was my main issue since on a web hosting client. You solved it with the config file.

  • @godwinsamk
    @godwinsamk 2 місяці тому

    Thanks a lot👍

  • @PlaneteAdos
    @PlaneteAdos Рік тому +1

    Thanks a lot it works !

  • @Mohammad-al-kurdi
    @Mohammad-al-kurdi Рік тому +1

    Thanks bro, very useful

  • @KambalReplica
    @KambalReplica 3 роки тому +1

    Thanks Justine this is very helpful.

  • @FrymanJack
    @FrymanJack 3 роки тому +2

    Really nice tutorial 👌

  • @senju31
    @senju31 3 роки тому +1

    The volume is a bit low but otherwise it's great. Step number 3 with environmental variable was the issue for me.

  • @petersawiris933
    @petersawiris933 Рік тому +1

    it helped, thanks

  • @andreajohn4520
    @andreajohn4520 2 роки тому

    Hello can you tell me how can i do this using core php mail() function and i have deployed my site in heroku

  • @ponrajs5396
    @ponrajs5396 3 роки тому +2

    Thanks dude works like a lit 🔥

  • @Gracek.g
    @Gracek.g 2 роки тому +1

    followed the steps but sadly got " Caught exception: Could not send request to server. CURL error 60: SSL certificate problem: self signed certificate in certificate chain " error

    • @zedgaming4756
      @zedgaming4756 Рік тому

      same any fixes for this?

    • @OrcanGG
      @OrcanGG Рік тому

      @@zedgaming4756 I abandoned the PHP approach and just moved over to EmailJS

  • @jayanthshetty6214
    @jayanthshetty6214 3 роки тому

    Hai justin, I've a small doubt. I'm taking email id as input from user and storing it in the variable $email. Now how can i pass this as an argument in $email->addTo() method? Please help me ASAP

    • @justinstolpe
      @justinstolpe  3 роки тому

      you place the email address in the addTo() function, here is the github with documentation github.com/sendgrid/sendgrid-google-php

  • @douglasfernando3845
    @douglasfernando3845 2 роки тому

    After sending the email, can I get to know, through the return, if the email actually arrived in the recipient's inbox?

    • @justinstolpe
      @justinstolpe  2 роки тому

      I think there are response codes in the api call.

  • @guruanshsingh5027
    @guruanshsingh5027 3 роки тому

    Bro how to run the composer on Mac M1?

    • @PaulAnderson1966
      @PaulAnderson1966 2 роки тому

      You will need to install something like homebrew first.

  • @jeanlouis647
    @jeanlouis647 3 роки тому +1

    Thanks man, I was using the Relay option and not Web API. Much appreciated!

  • @arvindvish2588
    @arvindvish2588 3 роки тому

    Error: Caught exception: Could not send request to server. CURL error 60: SSL certificate problem: self signed certificate in certificate chain please help

    • @justinstolpe
      @justinstolpe  3 роки тому +1

      Make sure you have the latest sendgrid from composer and check cert on your server

  • @wahhkaa8916
    @wahhkaa8916 3 роки тому

    how to send bulk?

    • @andresberger
      @andresberger 2 роки тому

      You make a loop in PHP, but it is better to use a mail sending software.

  • @toddgilbey3979
    @toddgilbey3979 Рік тому

    So ummm why am I getting the "'$' is not recognized as an internal or external command,
    operable program or batch file."

    • @justinstolpe
      @justinstolpe  Рік тому

      just a guess but sounds like you are trying to use jquery

    • @toddgilbey3979
      @toddgilbey3979 Рік тому

      @@justinstolpe No I am trying to follow the instructions exactly as you have laid it out in the video. Command > "$ go_www" & I get that error message.
      Why does this work for you & I receive a different result...?

    • @toddgilbey3979
      @toddgilbey3979 Рік тому

      @@justinstolpe No Im trying to follow the instruction exactly as you have laid them out, I have installed WWAMP with all services running, I run the command $ go_www and it comes back with "command not found"
      Why...?

    • @justinstolpe
      @justinstolpe  Рік тому

      @@toddgilbey3979 go_www is just an alias I have setup that takes me to my www folder and you would get that error if you don't have it setup. just cd to your www folder instead

    • @toddgilbey3979
      @toddgilbey3979 Рік тому +1

      @@justinstolpe My bad, my psychic powers were not what they used to be....

  • @spellman33
    @spellman33 Рік тому

    thanks

  • @davidkelly3148
    @davidkelly3148 2 роки тому +1

    Thank you, I was losing hope.