advancedrei / bootstrapforemail Goto Github PK
View Code? Open in Web Editor NEWBootstrap Template for HTML Email
Bootstrap Template for HTML Email
It would be nice if there were some instructions on what to do with this .less file. My zip contains 1 .less file which references other imported .less files. When I copy the bootstrap CSS into the template it doesn't give it hardly any visual appeal. So I assume I'm supposed to copy bootstra-email.less, but there are no other .less files included.
I see this project isn't maintained, and is stuck back on bootstrap 2. Anyone know of a new project with same goals for latest bootstrap?
Hello,
i have tried to make my email with this,
but that's not working
i m using 3 differents client mail ๐
Thunderbird, outlook 2007 and android device.
and i have three different vision of the mail:/
this is the code i used, what ' do u think please ?
<?php
$to = "[email protected]";
$subject = "Demo";
$headers = "";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$corpMail = "";
$corpMailTitle = "Day 1 - 25/05/2014";
$corpMailBody = '
<div class="alert alert-success"> Ceci est message !</div>
<div class="alert alert-info">Ceci est message !</div>
<div class="alert alert-warning">Ceci est message !</div>
<div class="alert alert-danger">Ceci est message !</div>';
$corpMail = '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>' . $corpMailTitle . '</title>
<style media="all" type="text/css">
' . file_get_contents("Stylesheet/bootstrap-email.min.css") . '
</style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="navbar navbar-inverse" align="center">
<!-- This setup makes the nav background stretch the whole width of the screen. -->
<table width="650px" cellspacing="0" cellpadding="3" class="container">
<tr class="navbar navbar-inverse">
<td colspan="4"><a class="brand" href="#">Lien Internet</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" align="center">
<table width="650px" cellspacing="0" cellpadding="3" class="container">
<tr>
<td>' . $corpMailBody . '</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" align="center">
<table width="650px" cellspacing="0" cellpadding="3" class="container">
<tr>
<td>
<hr>
<p>Github Demo - Demo Github</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>';
mail($to, $subject, $corpMail, $headers);
?>
Hello,
will this project get updated to Bootstrap 3 or 4?
Trying to compile from source to make a pull request for Bootstrap 2.3.2 however the navs-email.less file is missing from the repository.
If you add it, I will make a pull request to update the repo to Bootstrap 2.3.2. Otherwise I'm stuck.
Any plans to support bootstrap3?
Just a note regarding negative margins, they're ignored by Gmail and render the bootstrap grid ineffective.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.