email-blueprints icon indicating copy to clipboard operation
email-blueprints copied to clipboard

Gmail Strips Button Style In transactional_tabular.html

Open jgill333 opened this issue 12 years ago • 2 comments

When transactional_tabular.html is rendered in Gmail the button styling for the template button (and other styling) is stripped/removed.

Gmail does not end up liking this:

<tr>
                                                        <td align="center" valign="top" style="padding-top:0;">
                                                            <table border="0" cellpadding="15" cellspacing="0" class="templateButton">
                                                                <tr>
                                                                    <td valign="middle" class="templateButtonContent">
                                                                        <div>
                                                                            <a href="http://www.mandrill.com/" target="_blank">See What Mandrill Can Do</a>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>

jgill333 avatar Jan 27 '13 21:01 jgill333

Same thing happens in yahoo aswell

wsurles avatar Apr 19 '13 00:04 wsurles

Hi all

I'm not sure if it helps, but solution here could be to use tag instead. I took this from mailchimp's button from gmail. I'm not sure if this is compatible to all other clients mails.

example:

button

nkhamnaev avatar Jun 26 '15 14:06 nkhamnaev