| View previous topic :: View next topic |
| Author |
Message |
Thomas Miller Guest
|
Posted: Fri Mar 05, 2004 4:28 pm Post subject: TIdSMTP.Send Problem |
|
|
Here is my problem:
I have a routine that every 5 minutes send out emails.
I open a connection, go through the database, create
the emails, send them out using TIdSMTP.Send
Everything works fine the first time. The second time
it fails with "Bad command sequence" most of the time.
Sometimes a blank error and a couple of times "Connection
closed gracefully". The next time it runs fine.
Basically, every other time it runs it fails. Every
other time it runs fine.
Thoughts??? Thanks.
--
Thomas Miller
Delphi Client/Server Certified Developer
BSS Accounting & Distribution Software
BSS Enterprise Accounting FrameWork
http://www.bss-software.com
http://sourceforge.net/projects/dbexpressplus
|
|
| Back to top |
|
 |
Chad Z. Hower aka Kudzu Guest
|
Posted: Fri Mar 05, 2004 5:41 pm Post subject: Re: TIdSMTP.Send Problem |
|
|
Thomas Miller <tmiller (AT) bss-software (DOT) com> wrote in news:4048aac0$1
@newsgroups.borland.com:
| Quote: | Everything works fine the first time. The second time
it fails with "Bad command sequence" most of the time.
|
Does your ISP have POP3 before SMTP authentication?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Is Indy useful to you? Send a postcard please!
http://www.hower.org/kudzu/indypost.html
|
|
| Back to top |
|
 |
Thomas Miller Guest
|
Posted: Fri Mar 05, 2004 6:21 pm Post subject: Re: TIdSMTP.Send Problem |
|
|
Chad Z. Hower aka Kudzu wrote:
| Quote: | Thomas Miller <tmiller (AT) bss-software (DOT) com> wrote in news:4048aac0$1
@newsgroups.borland.com:
Everything works fine the first time. The second time
it fails with "Bad command sequence" most of the time.
Does your ISP have POP3 before SMTP authentication?
|
This is an internal mail program. I know the company uses
Groupwise, but I am checking on what the SMTP server is and
if there are authentication being performed. If you mean
by does there need to be a Name and password, that answer is
no.
--
Thomas Miller
Delphi Client/Server Certified Developer
BSS Accounting & Distribution Software
BSS Enterprise Accounting FrameWork
http://www.bss-software.com
http://sourceforge.net/projects/dbexpressplus
|
|
| Back to top |
|
 |
|