Thread View: borland.public.cppbuilder.internet.web
4 messages
4 total messages
Started by Alain
Tue, 21 Aug 2007 09:06
NMSMTP1->SendMail();
Author: Alain
Date: Tue, 21 Aug 2007 09:06
Date: Tue, 21 Aug 2007 09:06
10 lines
1093 bytes
1093 bytes
Hello All, I am using the NMSMTP1->SendMail(); to send e-mail the application it's only when I disconnect that the e-mail is sent e.i on issuing NMSMTP1->Disconnect(); Why ? Thanks
Re: NMSMTP1->SendMail();
Author: Remy Lebeau (TeamB)
Date: Tue, 21 Aug 2007 16:32
Date: Tue, 21 Aug 2007 16:32
18 lines
1675 bytes
1675 bytes
"Alain" <alainbastien@gmail.com> wrote in message news:46caab19@newsgroups.borland.com... > it's only when I disconnect that the e-mail is sent e.i > on issuing NMSMTP1->Disconnect(); That is how the SMTP protocol is designed to work in the first place. SMTP is a transactional protocol. The transaction is started when you login to the server, and is not completed until the QUIT command is sent just prior to disconnecting the socket. All emails issued in between are cached by the server until the transaction is completed. If successful, then all of the cached emails are delivered as needed. If the connection is dropped unexpectedly, or the RSET command is issued, then all cached messages are discarded instead. Gambit
Re: NMSMTP1->SendMail();
Author: Alain
Date: Wed, 22 Aug 2007 07:39
Date: Wed, 22 Aug 2007 07:39
14 lines
1178 bytes
1178 bytes
Hi Gambit, It's a great issue for me !! My application process SMS then forward contents to several e-mail addresses the PC is connected to ADSL and a GSM Modem to received the SMS I need to get the e-mail sent as the SMS are processed UNATTENDED ! How do I do that ? Thanks Alain
Re: NMSMTP1->SendMail();
Author: Remy Lebeau (TeamB)
Date: Wed, 22 Aug 2007 16:33
Date: Wed, 22 Aug 2007 16:33
10 lines
1196 bytes
1196 bytes
"Alain" <alainbastien@gmail.com> wrote in message news:46cbe843@newsgroups.borland.com... > How do I do that ? You already know the answer to that, because you are already doing it. Gambit
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