Add Newsletter, Job Alert feature into your Website

Published: 12 December 2020
on channel: raj lanjewar
101
5

In this video tutorial, I will explain you how to add News Alert , Job Alert , or Newsletter feature into your website. and send Email notification directly to your website visitor(subscriber) without using any external email sending service.
In this video we are using PHPMailer php Advance library to send emails to users. you can add Attachments, Send emails with multiple To, CC, BCC and Reply-to addresses, Integrated SMTP support – send without a local mail server and much more.
https://github.com/PHPMailer/PHPMailer

Download Source Code from here:
https://github.com/lanjewarraj/YTProject

Setting you need to change when sending email with Google SMTP server:
1) goto Manage your google Account - under Security - scroll down and Turn ON less secure app toogle button

Files that you need to Include when using PHPMailer Library:
👉 PHPMailerAutoload.php
👉 PHPMailer.php
👉 SMTP.php

PHP provides the built in mail() function to send mails when you want to use this you face some problems like:
❗ wrong format of mail header or content (e.g. differences inline break between Windows/Unix)
❗ sendmail not installed or configured on your server (php.ini)- This is one of the very common reasons for emails not getting delivered.
❗ the hosting provider of the sender does not allow emails sent by PHP mail(); This is the most common spam protection policy which almost every hosting provider adds on their server. In this primarily they block the outgoing SMTP ports 25, 587 and 465.

✔ so the better choice is to use the Advance PHPMailer Library.

🌍 Website: https://rajlanjewar.tech/
📝 LinkedIn :   / raj-lanjewar101  
📁 Github : https://github.com/lanjewarraj


Watch video Add Newsletter, Job Alert feature into your Website online without registration, duration hours minute second in high quality. This video was added by user raj lanjewar 12 December 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10 once and liked it people.