Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMRU FILE LIST Pin
tsb4-Feb-03 8:46
tsb4-Feb-03 8:46 
GeneralRe: MRU FILE LIST Pin
Ind5-Feb-03 2:43
Ind5-Feb-03 2:43 
GeneralGetTextExtentPoint32 Pin
Dave_4-Feb-03 8:35
Dave_4-Feb-03 8:35 
GeneralRe: GetTextExtentPoint32 Pin
Anders Molin4-Feb-03 12:05
professionalAnders Molin4-Feb-03 12:05 
GeneralRe: GetTextExtentPoint32 Pin
Dave_5-Feb-03 1:45
Dave_5-Feb-03 1:45 
GeneralRe: GetTextExtentPoint32 Pin
Chris Richardson4-Feb-03 18:00
Chris Richardson4-Feb-03 18:00 
GeneralRe: GetTextExtentPoint32 Pin
Dave_5-Feb-03 1:43
Dave_5-Feb-03 1:43 
GeneralStrange characters appearing in C++ email programme Pin
trimtrom4-Feb-03 8:34
trimtrom4-Feb-03 8:34 
Hello,
I am a C++ programmer trying to write my own email client, and I have come across some parsing problems in the MIME emails I am receiving via POP3 .

1) I get the characters "=20" (amongst others) appearing at the end of some lines of HTML code, as follows:

Hi=20
Mum

<span=20
class=3d918052115-03022003>
 

Glad=20
the various problems were solved:

<span=20
class=3d918052115-03022003>Windscreen:  You were lucky, I had to =
part with=20
=A3110 recently when my rear window motor really did burn out.  I =
think I=20
told you I got this fitted for =A310 (back street handyman) rather than =
the =A340=20
quoted by Peugeot dealer



2) I also received the following code in an email:

=3Chtml=3E
=3Chead=3E
=3Ctitle=3ESexual Meeting=2E=2E=3C=2Ftitle=3E
=3Cmeta http-equiv=3D=22Content-Type=22 content=3D=22text=2Fhtml=3B charset=3D=22=3E
=3C=2Fhead=3E
=3Cstyle type=3D^text=2Fcss^=3E
a {font-weight=3A bold=3B color=3A #FFFFFF=3B text-decoration=3A none}
a=3Ahover { color=3A #FF0000=3B text-decoration=3A underline}
body=09{
=09=09background-color=3A #000000=3B
=09=09color=3A #000000=3B
=09=09margin-left=3A 0px=3B
=09=09margin-top=3A 0px=3B
=09=09font-family=3A Trebuchet MS=2C arial=2C verdana=2C helvetica=3B
=09=09font-size=3A 20px=3B
=09}

Barring the actual nature of the second spam email, I am confused by the =09, =3C etc. etc.

Is this code some thing to do with MIME character sets??? What do I convert them to, or is this an encoding problem such as Base64??

I would be very grateful for some explanation of the above emails.

Thanks,
Paul Trimming
GeneralRe: Strange characters appearing in C++ email programme Pin
Anders Molin4-Feb-03 11:57
professionalAnders Molin4-Feb-03 11:57 
QuestionHyperlinks in dialog apps ? Pin
autekre4-Feb-03 8:20
autekre4-Feb-03 8:20 
AnswerRe: Hyperlinks in dialog apps ? Pin
Joaquín M López Muñoz4-Feb-03 8:35
Joaquín M López Muñoz4-Feb-03 8:35 
Generalini files Pin
scara4-Feb-03 8:12
scara4-Feb-03 8:12 
GeneralRe: ini files Pin
Nitron4-Feb-03 11:13
Nitron4-Feb-03 11:13 
GeneralRe: ini files Pin
scara4-Feb-03 19:04
scara4-Feb-03 19:04 
GeneralRe: ini files Pin
Dave_5-Feb-03 1:50
Dave_5-Feb-03 1:50 
GeneralRS232 vs RS422 Pin
peter ho4-Feb-03 7:42
peter ho4-Feb-03 7:42 
GeneralRe: RS232 vs RS422 Pin
Tim Smith4-Feb-03 8:30
Tim Smith4-Feb-03 8:30 
GeneralThat sucks.. Pin
LiquidKnight4-Feb-03 7:36
LiquidKnight4-Feb-03 7:36 
GeneralRe: That sucks.. Pin
Rickard Andersson204-Feb-03 7:52
Rickard Andersson204-Feb-03 7:52 
GeneralRe: That sucks.. Pin
LiquidKnight4-Feb-03 7:55
LiquidKnight4-Feb-03 7:55 
GeneralRe: That sucks.. Pin
Rickard Andersson204-Feb-03 8:03
Rickard Andersson204-Feb-03 8:03 
GeneralRe: That sucks.. Pin
Rickard Andersson204-Feb-03 7:56
Rickard Andersson204-Feb-03 7:56 
GeneralRe: That sucks.. Pin
LiquidKnight4-Feb-03 7:57
LiquidKnight4-Feb-03 7:57 
GeneralRe: That sucks.. Pin
Jamie Hale4-Feb-03 8:37
Jamie Hale4-Feb-03 8:37 
GeneralRe: That sucks.. Pin
Rickard Andersson204-Feb-03 8:55
Rickard Andersson204-Feb-03 8:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.