A simple php script that will help you to send bulk email with being able to attach file.
To run this script, You need to follow these steps -
-
At first install xampp server on your windows.
-
After installation is completed you have to open your sendmail folder which can be in this location = “C:\xampp\sendmail\ “ here edit the file sendmail.ini with your details like smtp link, your email your password and smtp port. the smpt link of google is smtp.google.com and port no. is 587
- Now go to php folder inside “C:\xampp\php\php.ini” now here in this folder edit the php.ini folder with these values =
at first search for smtp, on the search result comment
now uncomment the openssl extension from php.ini
Once its done, upload index.php file on your root folder and open the index.php file on your browser and it will start sending email to the array list of emails.