SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member wardwares's Avatar
    Join Date
    Jul 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help Please check my HTML email

    Hi,

    Please help me to verify the code i did if it is a valid html email code i already validate it on http://validator.w3.org and its valid i just need second option also i want to know why email went to junk mail if my code were valid?

    do i need special codes? or code not to use?

    here is my html email code please help me out if i have mistakes
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Company Title here</title>
    </head>
    <body>
    <table width="550" border="1" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td><table width="550" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#4C9522">
    <tr>
    <td><div style="font-family: Arial, Helvetica, sans-serif; font-size:16px; font-weight:bold; color:#FFFFFF">Company Name Here</div>
    <div style="font-family: Arial, Helvetica, sans-serif; font-size:22px; font-weight:bold; color:#FFFFFF">Company Tagline Here</div></td>
    </tr>
    </table>
    <table width="550" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#C12B1C">
    <tr>
    <td width="23"><img src="http://domainname.com/brand_img.gif" alt="image description" width="211" height="130"></td>
    <td width="513"><div style="font-family: Arial, Helvetica, sans-serif; font-size:32px; font-weight:bold; color:#FFFFFF">PHRASE HERE</div>
    <div><img src="http://domainname.com/spacer2.gif" alt="image description" width="1" height="25"></div>
    <div style="font-family: Arial, Helvetica, sans-serif; font-size:18px; font-weight:normal; color:#FFFFFF">Phrase here</div>
    <div style="font-family: Arial, Helvetica, sans-serif; font-size:18px; font-weight:normal; color:#FFFFFF">Phrase here</div></td>
    </tr>
    </table>
    <table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="233" valign="top" bgcolor="#86A8D5"><table width="100%" border="0" cellspacing="3" cellpadding="3">
    <tr>
    <td><table width="100%" border="0" cellspacing="1" cellpadding="3">
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><a href="#" target="_blank" style="color:#FFFFFF; text-decoration:none">Link Here</a></td>
    </tr>
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><a href="#" target="_blank" style="color:#FFFFFF; text-decoration:none">Link Here</a></td>
    </tr>
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><a href="#" target="_blank" style="color:#FFFFFF; text-decoration:none">Link Here</a></td>
    </tr>
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><a href="#" target="_blank" style="color:#FFFFFF; text-decoration:none">Link Here</a></td>
    </tr>
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><a href="#" target="_blank" style="color:#FFFFFF; text-decoration:none">Link Here</a></td>
    </tr>
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><a href="#" target="_blank" style="color:#FFFFFF; text-decoration:none">Link Here</a></td>
    </tr>
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><a href="#" target="_blank" style="color:#FFFFFF; text-decoration:none">Link Here</a></td>
    </tr>
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><a href="#" target="_blank" style="color:#FFFFFF; text-decoration:none">Link Here</a></td>
    </tr>
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><a href="#" target="_blank" style="color:#FFFFFF; text-decoration:none">Link Here</a></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
    <tr>
    <td>Phrase Here</td>
    </tr>
    </table></td>
    </tr>
    </table></td>
    <td width="317"><table width="302" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td><div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000">Phrase here</div>
    <div><img src="http://domainname.com/spacer2.gif" alt="image" width="1" height="10"></div>
    <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000">Phrase here</div>
    <div><img src="http://domainname.com/spacer2.gif" alt="image" width="1" height="10"></div>
    <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000">Phrase here</div>
    <div><img src="http://domainname.com/spacer2.gif" alt="image" width="1" height="10"></div>
    <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000">Phrase here</div>
    <div><img src="http://domainname.com/spacer2.gif" alt="image" width="1" height="10"></div>
    <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000">Phrase here</div>
    <div><img src="http://gdomainname.com/spacer2.gif" alt="image" width="1" height="10"></div>
    <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000">Phrase here</div>
    <div><img src="http://domainname.com/spacer2.gif" alt="image" width="1" height="10"></div>
    <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000">Phrase here</div>
    <div><img src="http://domainname.com/spacer2.gif" alt="brand innovators" width="1" height="10"></div>
    <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000">Phrase here</div>
    <div><img src="http://domainname.com/spacer2.gif" alt="brand innovators" width="1" height="10"></div>
    <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#000000">Phrase here</div></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <table width="550" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#C12B1C">
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:18px; font-weight:normal; color:#FFFFFF">Phrase here</td>
    </tr>
    </table>
    <table width="550" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#4C9522">
    <tr>
    <td style="font-family: Arial, Helvetica, sans-serif; font-size:24px; font-weight:normal; color:#FFFFFF">Phrase here
    <hr>
    <div style="font-family: Arial, Helvetica, sans-serif; font-size:17px; font-weight:bold; color:#FFFFFF">Compant Name</div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFFFFF"><strong>Los Angeles/strong><br>
    000-000-0000 </td>
    <td style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFFFFF"><strong>New York/strong><br>
    000-000-0000</td>
    <td style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFFFFF"><strong>Chicago/strong><br>
    000-000-0000</td>
    <td style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFFFFF"><strong>Dallas/strong><br>
    000-000-0000</td>
    <td style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFFFFF"><strong>Miami/strong><br>
    305-790-6253</td>
    </tr>
    </table>
    <div style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFFFFF"><a href="mailto:info@domainname.com" style="color:#FFFFFF">info@domainname.com</a> <img src="http://domainname.com/spacer.gif" alt="image description" width="25" height="1"><a href="http://www.domainname.com" target="_blank" style="color:#FFFFFF">www.domainname.com</a></div></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <center>
    <div><img src="http://domainname.com/image.gif" alt="Unsubscribe" width="271" height="67"><img src="http://domainname.com/image.gif" alt="image description" width="279" height="67"></div></center>
    </body>
    </html>

  2. #2
    SitePoint Evangelist Karpie's Avatar
    Join Date
    Jul 2007
    Location
    Perth, Australia
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That gives us the content of the e-mail, but not everything else.... for example, the From and Reply-To addresses on the e-mail itself.

    Also, a lot of web-based e-mail providers such as Hotmail will filter the best HTML e-mails through to junk, no matter what you do.

  3. #3
    SitePoint Member wardwares's Avatar
    Join Date
    Jul 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We are using Mail List King to send email, the sender's email and reply to address are the same company@companydomain.com for example

    thanks for the reply


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •