Read HTML file into email
- by cast01
Ive written a script to send html emails and all works well. I have the email stored in a separate HTML file which is then read in usin a while loop and fgets(). However, i want to be able to pass variables into the html. For example, in a html file i may have something like..
<body>
Dear Name <br/>
Thank you for your recent…