0
How to send an HTML page in the body of an email with PHP ? This html contains some bootstrap classes, how can I upload this page with the bootstrap styles, or css styles using the PHP mail function
0
How to send an HTML page in the body of an email with PHP ? This html contains some bootstrap classes, how can I upload this page with the bootstrap styles, or css styles using the PHP mail function
1
Using the options of header
of the email:
$headers='Content-Type: text/html; charset="utf-8"';
You create a page html
with css
for emails.
Browser other questions tagged php
You are not signed in. Login or sign up in order to post.
There is no way to load Bootstrap into email HTML. HTML emails should be as simple as possible using only HTML tags and some styles (the ones that work. Some are ignored by email clients) CSS inline.
– Sam