<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[mi sballa i caratteri nelle email in html!]]></title><description><![CDATA[<p dir="auto">Ciao a tutti!</p>
<p dir="auto">Ho del codice php per mandare delle email in html e tutto mi funziona correttamente se non che quando le mail vengono lette da internet o quando faccio reply ad esempio su Eudora (o thunderbird, o outlook, o sempre in pratica) mi sballa la dimensione dei caratteri...e non riesco a capire per quale motivo!<br />
Quando arrivano su un programma di mail tutto funziona in modo corretto, ma il problema sorge non appena si fa o inoltra o rispondi.....nel caso di caselle email su internet inveece il problema lo fa sempre.....boh.....<br />
Di seguito posto il codice!<br />
Grazie mille!</p>
<p dir="auto">&lt;?</p>
<p dir="auto">ini_set('SMTP','<a href="http://xxxxx.xxxxx.it" rel="nofollow ugc">xxxxx.xxxxx.it</a>');<br />
$name=$fetch['nome'];<br />
$surname=$fetch['cognome'];<br />
$mess="&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;<br />
&lt;HTML&gt;&lt;HEAD&gt;<br />
&lt;META http-equiv=Content-Type content="text/html; charset=iso-8859-1"&gt;<br />
&lt;STYLE&gt;<br />
H5 {text-align: justify; text-decoration: none; color: #000000; font-size: 12px; font-family: Arial}<br />
A:link, A:visited, A:hover { color: <a href="/hashtags/0033ff">#0033FF</a> }<br />
h1 {text-align: left; text-decoration: none; color: #000000; font-size: 12px; font-family: Arial; font-weight: normal}<br />
h3 {text-align: left; text decoration: none; color: #336699; font-size: 24px; font-family: Bradley Hand ITC; font-weight: bold}<br />
h4 {text-align: left; text-decoration: none; color: #336699; font-size: 16px; font-family: Arial; font-weight: bold}</p>
<p dir="auto">&lt;/STYLE&gt;<br />
&lt;/HEAD&gt;<br />
&lt;BODY bgColor=#ffffff link=#333333 alink=#333333 vlink=#333333&gt;<br />
&lt;DIV&gt;&lt;h1&gt;Caro $name $surname,&lt;br /&gt;<br />
&lt;br /&gt;<br />
ciao&lt;/h1&gt;<br />
&lt;/BODY&gt;&lt;/HTML&gt;<br />
";</p>
<p dir="auto">$e=$fetch['email'];<br />
$ogg="CIAO"; /<em>oggetto dell'email</em>/<br />
$mittente="CIAO CIAO <a href="mailto:ciao.ciao@ciao.it" rel="nofollow ugc">ciao.ciao@ciao.it</a>"; /<em>email mittente dell'email</em>/<br />
<a href="mailto:$reply=%22ciao.ciao@ciao.it" rel="nofollow ugc">$reply="ciao.ciao@ciao.it</a>"; /<em>email per le risposte all'email inviata</em>/</p>
<p dir="auto">$intestazioni = "From: $mittente\nReply-To: $reply\nX-Mailer: Sismail Web Email Interface\nMIME-version: 1.0\nContent-type: multipart/mixed;\n boundary="Message-Boundary"\nContent-transfer-encoding: 7BIT";</p>
<p dir="auto">$body_top = "--Message-Boundary\n";<br />
$body_top .= "Content-type: text/html; charset=iso-8859-1\n";<br />
$body_top .= "Content-transfer-encoding: 7BIT\n";<br />
$body_top .= "Content-description: Mail message body\n\n";</p>
<p dir="auto">$msg_body = $body_top . $mess;</p>
<p dir="auto">if(!(mail($e,$ogg,$msg_body, $intestazioni))){<br />
print "&lt;H5&gt;Invio della email fallito.&lt;/H5&gt;";}<br />
else{<br />
print "&lt;H5&gt;Invio della email ha avuto esito positivo.&lt;/H5&gt;";}<br />
?&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="nofollow ugc">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&gt;<br />
&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow ugc">http://www.w3.org/1999/xhtml</a>"&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;<br />
&lt;title&gt;Documento senza titolo&lt;/title&gt;<br />
&lt;/head&gt;</p>
<p dir="auto">&lt;body&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
]]></description><link>https://dev.connect.gt/topic/40761/mi-sballa-i-caratteri-nelle-email-in-html</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 16:30:31 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/40761.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Jul 2007 22:54:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to mi sballa i caratteri nelle email in html! on Fri, 13 Jul 2007 23:13:29 GMT]]></title><description><![CDATA[<p dir="auto">Ciao marco1981,<br />
sposto la discussione in Php - Mysql<br />
Shad</p>
]]></description><link>https://dev.connect.gt/post/567372</link><guid isPermaLink="true">https://dev.connect.gt/post/567372</guid><dc:creator><![CDATA[shad]]></dc:creator><pubDate>Fri, 13 Jul 2007 23:13:29 GMT</pubDate></item></channel></rss>