🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
10 messages
10 total messages Started by Jes�s Cabrero Thu, 03 Jul 2008 15:44
SMTP client
#188
Author: Jes�s Cabrero
Date: Thu, 03 Jul 2008 15:44
7 lines
1181 bytes
I need to send some emails from my program and SMTP client isn't the 
Password parameter (CBuilder3). Nowadays the most of servants need 
authentication. Could anyone help me? How can I pass the password to server? 
Is it possible to open first a POP3 connection and continue with SMTP 
connection without sending another time the password?

Thanks in advance.
Re: SMTP client
#189
Author: Remy Lebeau (TeamB)
Date: Thu, 03 Jul 2008 16:52
25 lines
1552 bytes
"Jes�s Cabrero" <jcabrerob@yahoo.es> wrote in message 
news:486cf3f2$1@newsgroups.borland.com...

> 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
Re: SMTP client
#190
Author: Jes�s Cabrero
Date: Thu, 03 Jul 2008 18:05
2 lines
1127 bytes
I use the TNMSTMP component in CBuilder3. In the TNMPOP3 exists the Password 
parameter but in TNMSTMP does not exist. How can I pass this parameter?
Re: SMTP client
#191
Author: Remy Lebeau (TeamB)
Date: Thu, 03 Jul 2008 22:09
11 lines
1254 bytes
"Jes�s Cabrero" <jcabrerob@yahoo.es> wrote in message 
news:486d14d8$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 
Re: SMTP client
#192
Author: Jes�s Cabrero
Date: Fri, 04 Jul 2008 07:04
19 lines
1525 bytes
Could I make a new class from TNMSMTP adding the new parameter Password? 
What code I need? Is it too complex to use the inheritance?


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> escribi� en el mensaje 
news:486d4e94$1@newsgroups.borland.com...
>
> "Jes�s Cabrero" <jcabrerob@yahoo.es> wrote in message 
> news:486d14d8$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
>
> 
Re: SMTP client
#193
Author: Jes�s Cabrero
Date: Fri, 04 Jul 2008 09:06
18 lines
1505 bytes
I have found source code that uses the component TClientSocket for SMTP 
connection. I need to read it but, do you think it's possible?

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> escribi� en el mensaje 
news:486d4e94$1@newsgroups.borland.com...
>
> "Jes�s Cabrero" <jcabrerob@yahoo.es> wrote in message 
> news:486d14d8$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
>
> 
Re: SMTP client
#194
Author: Remy Lebeau (TeamB)
Date: Sun, 06 Jul 2008 06:32
10 lines
1209 bytes
"Jes�s Cabrero" <jcabrerob@yahoo.es> wrote in message 
news:486dcb77$1@newsgroups.borland.com...

> Could I make a new class from TNMSMTP adding the new parameter Password?

No.


Gambit
Re: SMTP client
#195
Author: Remy Lebeau (TeamB)
Date: Sun, 06 Jul 2008 06:34
13 lines
1516 bytes
"Jes�s Cabrero" <jcabrerob@yahoo.es> wrote in message 
news:486de7fb$1@newsgroups.borland.com...

> I have found source code that uses the component TClientSocket
> for SMTP connection. I need to read it but, do you think it's possible?

You could use TClientSocket, yes.  I would recommend using an actual SMTP 
component that already supports what you need, , however.  Indy, ICS, 
Synapse, etc all have SMTP classes, for instance.


Gambit 
Re: SMTP client
#196
Author: Jes�s Cabrero
Date: Sun, 06 Jul 2008 13:57
20 lines
1754 bytes
I had already found information about Indy, but it does not run in 
CBuilder3.

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> escribi� en el mensaje 
news:48706946@newsgroups.borland.com...
>
> "Jes�s Cabrero" <jcabrerob@yahoo.es> wrote in message 
> news:486de7fb$1@newsgroups.borland.com...
>
>> I have found source code that uses the component TClientSocket
>> for SMTP connection. I need to read it but, do you think it's possible?
>
> You could use TClientSocket, yes.  I would recommend using an actual SMTP 
> component that already supports what you need, , however.  Indy, ICS, 
> Synapse, etc all have SMTP classes, for instance.
>
>
> Gambit
>
> 
Re: SMTP client
#197
Author: Mike Ruskai
Date: Wed, 09 Jul 2008 06:05
8 lines
1424 bytes
On or about Fri, 4 Jul 2008 11:06:03 +0200 did "Jes�s Cabrero"
<jcabrerob@yahoo.es> dribble thusly:

>I have found source code that uses the component TClientSocket for SMTP 
>connection. I need to read it but, do you think it's possible?

SMTP is, as the name implies, a very simple protocol.  Writing your own client
would be a good learning experience for working with sockets.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads