Link to home
Start Free TrialLog in
Avatar of Murdoc
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.SendBuf(p,length(p));


Thank you in advance.
Avatar of Murdoc
Murdoc

ASKER

No answer so i will increase pints to 100. Hope i t will help :)
ASKER CERTIFIED SOLUTION
Avatar of gmayo
gmayo
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murdoc

ASKER

Hi

You we're right qmayo. Really thanks for your help.

It suppose to be:      s:='user someuseri'#13#10;

Regards.