Jump to content

Can't make proper Email HTML Template for automatic mail system


Gonnviear
 Share

Recommended Posts

So i'm trying to create HTML Template that will be used when sending mails for validation/create new user in a game i and few other develops. I've arrange for background image but for some reason i can't make the background work.

I've researched abit and found out background image don't play nice and you have to use table (which is apparently what people hates). So i tried to do it in many ways with no success.

Anyone can help me?

This is the HTML Code:

 

<!DOCTYPE>
<html>
 <head>
  <title>TESTTESTESTESTESTESTETE</title>
  <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
   <style type="text/css">
 {
     backgrund-image: url(http://i.imgur.com/JdmVUg7.png);
 }
 </style>
 </head>
 <body style="padding-left: 65px; color:black; text-shadow: 0px 1px 1px #7a5230; font-family: 'Open Sans Extra-Bold 800 Italic'">
<table width="100%" border="0" cellspacing="0" cellpadding="20" background="http://i.imgur.com/JdmVUg7.png">
<!--  <div class="" style="padding-left: 65px; color:black; text-shadow: 0px 1px 1px #7a5230; font-family: 'Open Sans Extra-Bold 800 Italic'"> -->
     <br>
     <br>
     <br>
     <h1>Account Validation</h1>
  <br>
     <p>TESTTESTESTESTESTESTETET</p>
     <p>TESTTESTESTESTESTESTETETESTTESTESTESTESTESTETETESTTESTESTESTESTESTETE</p>
<br>
<br>
     <a href="#">Click Here to Validate</a>
<br>
<br>
<br>
     <p>Verifing your Account is important for security and safety.</p>
     <p>If you having any troubles please contact us at TESTTESTESTESTESTESTETE</a>     
     <br>
     <br> 
     <br>
     <br>
     <p>You recieved this messege because this email was registered at TESTTESTESTESTESTESTETE</a></p>
     </table>
     </body>
</html>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...