The file index.php is reading the test.xlsx file to send mail using the smtp host. You can use this to generate a multiple marketing mail using excel and connect to any SMTP host you need.
All the mention parameter are taken from the excel file
- SMTP HOST
- SMTP USERNAME
- SMTP PASSWORD
- SMTP PORT
- From Address
- To Address(array with comma separated)
- CC Address(array with comma separated)
- Bcc Address(array with comma separated)
- Attachment File.
You can add multiple new row with all the information and the php script will be running in the loop to send mail each row wise.
Thanks.