Issue saving HTML email signature

Lgarciadel
Member

Hi everyone,

 

I'm trying to create my email signature by pasting my HTML code, but when I paste it into the editor, I can’t save it.

 

Is there any limitation or restriction on the type of HTML that can be used for signatures?

 

Here’s the HTML I’m trying to use:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SKIN TECH PHARMA GROUP SIGNATURE</title>
<style type="text/css">
    body{font-family:Arial}
    img {height: auto;}
    a {text-decoration: none}

 

    @media print{
      #signature{
        display: none;
      }
    }
</style>
</head>

 

<body yahoo bgcolor="#ffffff" style="font-family:Arial;margin: 0;padding: 0;min-width: 100%!important;">

 

<table id="signature" width="600" style="width:600px" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<!--[if (gte mso 9)|(IE)]>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table width="600" bgcolor="#ffffff" class="content" align="left" cellpadding="0" cellspacing="0" border="0" style="width: 600px;max-width: 600px;">
<tr>
<td bgcolor="#ffffff" class="header" style="padding: 25px;">

 

            <!--[if (gte mso 9)|(IE)]>
<table width="540" align="left" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table align="left" border="0" cellpadding="0" cellspacing="0" style="width: 100%;">

<tr><td>&nbsp;</td></tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60" rowspan="4">
<img  width="60" height="134" src="http://www.skintechpharmagroup.com/signature/2018/skintechpharmagroup_logo2.png" style="width: 60px; height: 134px;">
</td>
<td colspan="2">
<strong style="font-size: 20px;color:#1D1D1B;">Rosa Mary Leboso </strong>
</td>
<td colspan="2" align="right">
&nbsp;<a href="https://www.facebook.com/SkinTechPharmaGroup/" style="display: inline-block;text-decoration: none"><img  width="14" height="14" src="http://www.skintechpharmagroup.com/signature/2018/facebook.png" style="width: 14px;height: 14px;"></a>
&nbsp;<a href="https://www.instagram.com/skintechpharmagroup/" style="display: inline-block;text-decoration: none"><img  width="14" height="14" src="http://www.skintechpharmagroup.com/signature/2018/instagram.png" style="width: 14px;height: 14px;"></a>
&nbsp;<a href="https://twitter.com/IPAR_AesthEdu" style="display: inline-block;text-decoration: none"><img  width="14" height="14" src="http://www.skintechpharmagroup.com/signature/2018/twitter.png" style="width: 14px;height: 14px;"></a>
&nbsp;<a href="https://www.linkedin.com/company/skin-tech-pharma-group" style="display: inline-block;text-decoration: none"><img  width="14" height="14" src="http://www.skintechpharmagroup.com/signature/2018/linkedin.png" style="width: 14px;height: 14px;"></a>
</td>
</tr>
<tr>
<td colspan="4">
<div style="font-size: 14px;color: #1E120D;" class="txt signature_jobtitle-target sig-hide">Inside Sales</div>
<div style="font-size: 13px;line-height: 36px;"><a href="tel:+34977455113" style="color: #1E120D;text-decoration: none;">+34 <strong>977 45 51 13</strong></a></div>
</td>
</tr>
<tr>
<td width="246">
<a href="http://www.skintechpharmagroup.com" style="text-decoration: none;color: #1D1D1B;line-height: 12px; font-size: 12px;">www<strong>.skintechpharmagroup.</strong>com</a>
</td>
<td width="78" align="left" style="font-size: 11px;color: #1D1D1B;"><strong>Business</strong></td>
<td width="78" align="center" style="font-size: 11px;color: #1D1D1B;"><strong>Manufacture</strong></td>
<td width="78" align="right" style="font-size: 11px;color: #1D1D1B;"><strong>Research</strong></td>
</tr>
<tr>
<td colspan="4">
<p style="color: #888888; font-size: 6px; text-align: justify;padding-top: 5px;margin: 0;line-height: 1;">
                          This e-mail contains confidential information whose content is protected by law. Any person other than the addressee is prohibited from reproducing, using, disclosing or printing it in whole or in part. If you have received this message in error, please notify the sender immediately, deleting the original message together with its attached files. Furthermore, we inform you that Skin Tech Pharma Group, S.L. complies with the specifications of the General Data Protection Regulation (EU) 2016/679. You may exercise your rights of access, modification, rectification, cancellation, opposition, limitation and deletion at C/ Pla de l'Estany, 29, 17486 Castelló d'Empúries or by writing to the email address legal@skintechpharmagroup.com, accompanying your request with a copy of your ID card.
</p>
</td>
</tr>
<tr><td colspan="5">&nbsp;</td></tr>
</table>
</td>
</tr>
</table>

            <!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</table>

</body>
</html>

0 Upvotes
1 Accepted solution
sylvain_tirreau
Solution
Guide

Hi @Lgarciadel ,

@BérangèreL is right, you should use HubSpot's signature generator, which produces very compliant signatures.

 

This part of your code is unnecessary:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SKIN TECH PHARMA GROUP SIGNATURE</title>
<style type="text/css">
    body{font-family:Arial}
    img {height: auto;}
    a {text-decoration: none}

 

    @media print{
      #signature{
        display: none;
      }
    }
</style>
</head>

 

<body yahoo bgcolor="#ffffff" style="font-family:Arial;margin: 0;padding: 0;min-width: 100%!important;">
[This is the code you need to put in your signature, but I don't think it will work on its own.]
</body>
<html>

 

 

Sylvain Tirreau avatar

Sylvain Tirreau

FREELANCE HUBSPOT DEVELOPER SPECIALIZING IN ADVANCED HUBSPOT CUSTOMIZATION.

I am not a HubSpot member. Just a HubSpot community member.

FRANCE - European Union

HubSpot CommunityLinkedInMap
hubspot-addict.comOpen in new tab

View solution in original post

3 Replies 3
BérangèreL
Community Manager
Community Manager

Hi @Lgarciadel and welcome, we are so glad to have you here!

Thanks for reaching out to the HubSpot Community and for sharing the code!

Have you tried using the "Email Signature Template Generator", that might help?

Also, here is an article on the topic for reference: "Add and manage email signatures in the CRM".

Now, let's consult our Top Experts: Hi @Anton, @sylvain_tirreau and @karstenkoehler do you have any tips to help @Lgarciadel, please?

Have a fantastic day and thanks so much!
Bérangère





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




sylvain_tirreau
Solution
Guide

Hi @Lgarciadel ,

@BérangèreL is right, you should use HubSpot's signature generator, which produces very compliant signatures.

 

This part of your code is unnecessary:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SKIN TECH PHARMA GROUP SIGNATURE</title>
<style type="text/css">
    body{font-family:Arial}
    img {height: auto;}
    a {text-decoration: none}

 

    @media print{
      #signature{
        display: none;
      }
    }
</style>
</head>

 

<body yahoo bgcolor="#ffffff" style="font-family:Arial;margin: 0;padding: 0;min-width: 100%!important;">
[This is the code you need to put in your signature, but I don't think it will work on its own.]
</body>
<html>

 

 

Sylvain Tirreau avatar

Sylvain Tirreau

FREELANCE HUBSPOT DEVELOPER SPECIALIZING IN ADVANCED HUBSPOT CUSTOMIZATION.

I am not a HubSpot member. Just a HubSpot community member.

FRANCE - European Union

HubSpot CommunityLinkedInMap
hubspot-addict.comOpen in new tab
Lgarciadel
Member

Hi!

 

Thank you so much for your help and clarification! Removing the unnecessary parts of the HTML and keeping only the inline code worked perfectly.

 

I really appreciate you taking the time to explain why HubSpot’s signature editor rejects those elements.

 

Everything’s working fine now, thanks again!