Bonjour à tous,

Je reçois ces deux messages en utilisant après l'avoir compilé le client_smtp.exe du tutoriel:
http://broux.developpez.com/articles/protocoles/smtp/

354 Début du corps du message ; arrêt par <CRLF>.<CRLF>
501 Erreur de syntaxe dans les paramètres ou arguments


354 Enter mail, end with a single ".".
Cela peut-il provenir du -->#define END_DATA "."

500 5.5.1 Unknown command "" specified


Il faut spécifier que je suis au Canada. Près des USA.

Le protocole est peut-être différent.


Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
-------------------  console -------------
220 zloup.videotron.ca -- Server ESMTP (Videotron Ltee)
250-zloup.videotron.ca
250 2.5.0 Address Ok.
250 2.1.5 J4e8a16n@videotron.ca OK.
354 Enter mail, end with a single ".".
250 2.5.0 Ok.
500 5.5.1 Unknown command "" specified
---------------------
 
----------------------- mail.txt  ------------
zloup.videotron.ca
videotron.ca
J4e8a16n@videotron.ca
J4e8a16n@videotron.ca
From: "xxx" <J4e8a16n@videotron.ca>
To: "yyy" <J4e8a16n@videotron.ca>
Subject: Test smtp
 
Bonjour,
Test pour le programme C.
 
fin
----------------------------------------
 
---------------------  ctrl + f3 pour le courriel reçu    -----------------------
Received: from videotron.ca ([70.80.76.203]) by VL-MO-MR005.ip.videotron.ca
 (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug  3 2007; 32bit))
 with ESMTP id <0KIK00MMOGJ3ZLK0@VL-MO-MR005.ip.videotron.ca> for
 J4e8a16n@videotron.ca; Thu, 23 Apr 2009 14:25:51 -0400 (EDT)
Date: Thu, 23 Apr 2009 14:25:51 -0400 (EDT)
Date-warning: Date header was inserted by VL-MO-MR005.ip.videotron.ca
From: xxx <J4e8a16n@videotron.ca>
Subject: Test smtp
To: yyy <J4e8a16n@videotron.ca>, J4e8a16n@videotron.ca
Message-id: <0KIK00MMPGJ3ZLK0@VL-MO-MR005.ip.videotron.ca>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=ISO-8859-1
X-Antivirus: avast! (VPS 090423-0, 2009-04-23), Inbound message
X-Antivirus-Status: Clean
 
Bonjour,
Test pour le programme C.
-----------------
 
fin