Send Emails via SMTP with Gmail and PHPMailer

Send Emails via SMTP with Gmail and PHPMailer


shared hosting email sending limits

In this video, we will learn how to send emails via SMTP with Gmail and PHPMailer.

PHPMailer is a code library to send (transport) emails safely and easily via PHP code from a web server.

Using PHPMailer, we can easy send three types of email:
– plain text email
– HTML email
– email with attachments

Microphone I Use
ZINGYOU Desktop Microphone – (Amazon)

Laptop
ASUS VivoBook 15 Thin & Light Laptop – (Amazon)

19 thoughts on “Send Emails via SMTP with Gmail and PHPMailer

  1. 2020-03-10 11:27:48 SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)

    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Message could not be sent. Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Thank you for contacting us. We will be in touch with you very soon. 2020-03-10 11:28:52 SMTP ERROR: Failed to connect to server: Connection timed out (110)

    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Leave a Reply

Your email address will not be published. Required fields are marked *