• Ygesit

    (@ygesit)


    Hi,
    i have create a html plain text for the mail and mail 2.
    I don’t understand because the email is displayed to show the code.

    This is the my html plain text:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang='it'>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>STS Certificazioni - Ricezione Richiesta informazioni</title>
    </head>
    
    <body style='margin: 0; padding: 0; font-family: Helvetica, Arial, sans-serif; color:#575656; background-color:#dddddd;'>
     <table align='center' border='0' cellpadding='0' cellspacing='0' width='600' style='border-collapse: collapse';>
      <tr>
      <td style='max-width: 600px; display:block!important; margin: 0 auto!important; clear: both!important;'></td>
      <tr>
       <td align='left' style='padding: 20px 20px 20px 20px;'>
    	   <a href='http://stscertificazioni.it" alt="STS Certificazioni - Sito Ufficiale" parent="_blank' ><img src='http://stscertificazioni.it/wp-content/uploads/2015/04/stsCertificazioni-logo-negativo-70px.png' alt='STS Certificazioni' width='150' height='70' style='display: block;'></a>
       </td>
       </tr>
       <tr>
    	   <td align='right' style='font-size: 11px; height: 40px; padding-right: 15px;'>
    	   <p>Avviso richiesta di informazioni</p>
    	   </td>
      </tr>
    
      <tr><!-- INIZIO RIGA BORDATA -->
      <td style='background-color:#ffffff; width: 600px; padding:20px 25px; -webkit-box-shadow: 0px 0px 13px 0px rgba(50, 50, 50, 0.75); -moz-box-shadow: 0px 0px 13px 0px rgba(50, 50, 50, 0.75); box-shadow: 0px 0px 13px 0px rgba(50, 50, 50, 0.75);'>
      	<table width="100%">
      		<tbody>
    	  		<tr>
    		  		<td>
    			  		<p>Ciao! Il sig.re/ra <strong>[tuo-nome]</strong>,<br />
    				  	ha visitato il nostro e ti ha contatto attraverso il form.</p>
    				</td>
    			</tr>
    	  		<tr>
    		  		<td style="border-bottom: 1px solid #9d9d9c; padding: 10px 0;">
    				</td>
    			</tr>
    	  		<tr>
    	  		<tr>
    		  		<td>
    			  		<p>Di seguito riportiamo in dettaglio la richiesta:</p>
    				</td>
    			</tr>
    		  		<td>
    		  		<table style='font-size: 13px; width: 100%; margin-bottom: 15px;'>
    		  			<tr><td width='30%' align='right'>E-mail:</td><td width='5%'></td><td width='65%' align='left' style='font-weight:500'>[tua-email]</td></tr>
    		  			<tr><td width='30%' align='right'>Città:</td><td width='5%'></td><td width='65%' align='left' style='font-weight:500'>[tua-citta]</td></tr>
    		  			<tr><td width='30%' align='right'>Numero telefono:</td><td width='5%'></td><td width='65%' align='left' style='font-weight:500'>[tuo-numero]</td></tr>
    		  			<tr><td width='30%' align='right'>Oggetto:</td><td width='5%'></td><td width='65%' align='left' style='font-weight:500'>[tuo-oggetto]</td></tr>
    		  			<tr><td width='30%' align='right'>Messaggio:</td><td width='5%'></td><td width='65%' align='left' style='font-weight:500'>[tuo-messaggio]</td></tr>
    		  		</table>
    			  	</td>
    			</tr>
      		</tbody>
      	</table><!-- /fine riga bordata -->
      </td>
      </tr>
    
        <tr>
      	<td height='30'>
      		<table width='100%'>
    	  		<tr>
    		  		<td align='center' valign="middle" style='font-size: 11px;'>
    			  		<p style='line-height: 150%;'>&copy; 2015 STS Certificazioni</p>
    			  	</td>
    			</tr>
      		</table>
      	</td>
      </tr>
    
      <td></td>
      </tr>
     </table>
    </body>
    </html>

    thx for your help

    https://wordpress.org/plugins/contact-form-7/

  • The topic ‘Mail html plain text don't work’ is closed to new replies.