Murdoc
asked on
Receiving mail message line by line using Tclient Socket
Hi
My question is the same as in title.
The problem is that i can connect to my mailbox ('+OK POP3 ready') but mail server doesn't accept and respond with '+OK' why I'm sending command 'user someuser' .
Any ideas.
My example:
(...)
var
s:string[30];
p:pchar;
begin
s:='user someuser'#0;
p:= @S[1];
ClientSocket.Socket.SendBu f(p,length (p));
Thank you in advance.
My question is the same as in title.
The problem is that i can connect to my mailbox ('+OK POP3 ready') but mail server doesn't accept and respond with '+OK' why I'm sending command 'user someuser' .
Any ideas.
My example:
(...)
var
s:string[30];
p:pchar;
begin
s:='user someuser'#0;
p:= @S[1];
ClientSocket.Socket.SendBu
Thank you in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi
You we're right qmayo. Really thanks for your help.
It suppose to be: s:='user someuseri'#13#10;
Regards.
You we're right qmayo. Really thanks for your help.
It suppose to be: s:='user someuseri'#13#10;
Regards.
ASKER