منتدى استراحات زايد

منتدى استراحات زايد (http://vb.ma7room.com/index.php)
-   منتدى أخبار المواقع والمنتديات العربية والأجنبية (http://vb.ma7room.com/forumdisplay.php?f=183)
-   -   Forum vb send Email 'subject' and 'From' in utf8 hex numbers (http://vb.ma7room.com/showthread.php?t=422371)

محروم.كوم 06-03-2010 05:00 PM

Forum vb send Email 'subject' and 'From' in utf8 hex numbers
 
Hello

My forum is Arabic, UTF8

this is special problem I have found

I noted that when my forum send Email messages notifications to my members Emails. they reach their inbox with broken 'From' & 'subject' fields.

They are shown properly. But not complete (The last characters is missing)



I researched the problem. Why they reach the inbox with missing characters. it seems the Yahoo mail (for example) is clipping both of the 'From' and 'Subject' because they exceeded the characters number limits.

but in fact, the character of the 'Form' and 'Subject' lengths are very normal

I enabled the log for emails that sent from my vb and I found that:

forum send the messages with 'Subject' and 'From' encoded in utf8 hex numbers. just like that:

***************************
Subject: =?UTF-8?q?=D8=B1=D8=B3=D8=A7=D9=84=D8=A9_=D8=AE=D8=A7=D8 =B5=D8=A9_=D8=AC=D8=AF=D9=8A=D8=AF=D8=A9_=D9=81=D9 =8A_=D8=B4=D8=A8=D9=83=D8=A9_=D8=A7=D8=B5=D8=AF=D9 =82=D8=A7=D8=A1_=D8=A7=D9=84=D9=83=D9=88=D8=AA?=
From: =?UTF-8?q?=D8=B4=D8=A8=D9=83=D8=A9_=D8=A7=D8=B5=D8=AF=D9 =82=D8=A7=D8=A1_=D8=A7=D9=84=D9=83=D9=88=D8=AA?= [email protected]
Auto-Submitted: auto-generated
Return-Path: [email protected]
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: vBulletin Mail via PHP
Date: Thu, 03 Jun 2010 10:36:39 +0300


*************************************

While, the message body text are normal (in normal Arabic characters)

I repeat, when they reach the inbox, they are show properly, except that last characters is missing


I am very sure that the clipping in 'From' and 'Subject' is because the forum send the hex number of utf8 instead of the normal characters. I made a test in sending the same email (same 'From', Same 'Subject' and same body) from gmail, yahoo etc, they reach the destinations OK.

How can I let the forum send the 'From' and 'subject' in normal characters. So they are shown complete without clipping by Yahoo mail or what else

Just tell me where to (edit things) I am can manage myself

Thank you and sorry for the weak english :o


الساعة الآن 08:41 PM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227