Thanks in advance.
> I need to send some emails from my program and SMTP
> client isn't the Password parameter (CBuilder3).
What client are you using for SMTP to begin with?
> Could anyone help me?
Not without more information about what you are actually using.
> How can I pass the password to server?
That depends on what you are using.
> Is it possible to open first a POP3 connection and continue
> with SMTP connection without sending another time the
> password?
No. That is not how SMTP works.
Gambit
"Remy Lebeau (TeamB)" <no....@no.spam.com> escribió en el mensaje
news:486d0412$1...@newsgroups.borland.com...
> I use the TNMSTMP component in CBuilder3.
TNMSMTP does not support passwords at all. You will have to use a different
SMTP client.
Gambit
"Remy Lebeau (TeamB)" <no....@no.spam.com> escribió en el mensaje
news:486d4e93$1...@newsgroups.borland.com...
> The connection with TClientSocket is very easy but I need the
> UserID and the Password encoded in Base64(MIME).
Yes, you do. Base64 is a very simple algorithm to implement, though. Go to
http://www.deja.com and search the newsgroup archives. Plenty of examples
have been posted before.
> I tried to combine TClientSocket for authentication and TNMSMTP
> for send the message but the TNMSMTP said that is not connected.
You cannot mix components like that.
> Is it possible to switch the two commands in the same port 25 as
> if they were the same connection?
No.
> Is there a hide status I can modify?
No.
> Is there a function to encode strings?
Not built into the RTL, no. You need to find/use third-party code for that,
or write your own from scratch.
Gambit