Alaska Software Inc. - IDSC
Username: Password:
AuthorTopic: IDSC
R.ReinthalerIDSC
on Fri, 28 Jan 2005 13:14:46 +0100
Hello,
sometimes this error occurs when sending a email ???
regards
Rudolf


Xbase++ version     : Xbase++ (R) Version 1.82.306
Operating system    : Windows 2000 05.00 Build 02195 Service Pack 3
----------------------------------------------------------------------------
--
oError:args         :
oError:canDefault   : N
oError:canRetry     : N
oError:canSubstitute: N
oError:cargo        : NIL
oError:description  : Internal data structures corrupted
oError:filename     :
oError:genCode      :         41
oError:operation    :
oError:osCode       :          0
oError:severity     :          2
oError:subCode      :          5
oError:subSystem    : BASE
oError:thread       :          3
oError:tries        :          0
----------------------------------------------------------------------------
--
CALLSTACK:
----------------------------------------------------------------------------
--
Called from SMTPCLIENT:CONNECT(182)
Called from SENDMAIL(176)
Called from SEND_MAIL(1369)
Called from AUTOBEST(1298)
Called from (B)_UPDATESTATS(375)

DBE Component Data :DBFDBE
DBE Component Order:CDXDBE

No DBF file open
Phil Ide
Re: IDSC
on Fri, 28 Jan 2005 12:25:39 +0000
Rudolf,

> Hello,
> sometimes this error occurs when sending a email ???

My web-apps send me quite a few emails each day alerting me to problems
(usually because tables are locked by another app).  I use ASINET to do
this (directly, rather than using the CONTEXT object), and have never had
this problem.

So firstly, how frequently does this happen - each time you send an email,
1 in 10 or what?

Secondly, what happens if you telent into your mailserver - does that work
every time without fail?

Regards,

Phil Ide

***************************************
* Xbase++ FAQ, Libraries and Sources: *
* goto: http://www.idep.org.uk/xbase  *
***************************************

Condominiums are not effective birth control.
R.ReinthalerRe: IDSC
on Fri, 28 Jan 2005 15:01:20 +0100
Hello Phil
this problem was reproducable. I have changed my code back, and now it
works. So I can step throug all changes to find where the problem is.
I have only changeed 2 functions that were called direct to threads with
threadwait().
How do you send mails direct without CONTEXT object's ? Do you have a sample
? Maybe this way is saver than mine.
regards
Rudolf

"Phil Ide" <phil@idep.org.uk> schrieb im Newsbeitrag
news:1tbq4ymwyi8ms$.dlg@idep.org.uk...
> Rudolf,
>
> > Hello,
> > sometimes this error occurs when sending a email ???
>
> My web-apps send me quite a few emails each day alerting me to problems
> (usually because tables are locked by another app).  I use ASINET to do
> this (directly, rather than using the CONTEXT object), and have never had
> this problem.
>
> So firstly, how frequently does this happen - each time you send an email,
> 1 in 10 or what?
>
> Secondly, what happens if you telent into your mailserver - does that work
> every time without fail?
>
> Regards,
> --
> Phil Ide
>
> ***************************************
> * Xbase++ FAQ, Libraries and Sources: *
> * goto: http://www.idep.org.uk/xbase  *
> ***************************************
>
> Condominiums are not effective birth control.
Phil Ide
Re: IDSC
on Fri, 28 Jan 2005 14:49:56 +0000
Rudolf,

> this problem was reproducable. I have changed my code back, and now it
> works. So I can step throug all changes to find where the problem is.
> I have only changeed 2 functions that were called direct to threads with
> threadwait().
> How do you send mails direct without CONTEXT object's ? Do you have a sample
> ? Maybe this way is saver than mine.

If you have the professional subscription then there are example sources in
the samples\asinet\mail directory, and of course in the help.

If you don't have the professional subscription, then you might be missing
some files.

Regards,

Phil Ide

***************************************
* Xbase++ FAQ, Libraries and Sources: *
* goto: http://www.idep.org.uk/xbase  *
***************************************

A bird in the hand doesn't count in poker.
R.ReinthalerRe: IDSC
on Fri, 28 Jan 2005 16:06:05 +0100
Hello Phil,
thank you, I have it. Will look at the weekend to chang my code.
have a nice weekend
Rudolf

"Phil Ide" <phil@idep.org.uk> schrieb im Newsbeitrag
news:1sn2tuzp9cmg6.dlg@idep.org.uk...
> Rudolf,
>
> > this problem was reproducable. I have changed my code back, and now it
> > works. So I can step throug all changes to find where the problem is.
> > I have only changeed 2 functions that were called direct to threads with
> > threadwait().
> > How do you send mails direct without CONTEXT object's ? Do you have a
sample
> > ? Maybe this way is saver than mine.
>
> If you have the professional subscription then there are example sources
in
> the samples\asinet\mail directory, and of course in the help.
>
> If you don't have the professional subscription, then you might be missing
> some files.
>
> Regards,
> --
> Phil Ide
>
> ***************************************
> * Xbase++ FAQ, Libraries and Sources: *
> * goto: http://www.idep.org.uk/xbase  *
> ***************************************
>
> A bird in the hand doesn't count in poker.
Phil Ide
Re: IDSC
on Fri, 28 Jan 2005 16:32:52 +0000
Rudolf,

> thank you, I have it. Will look at the weekend to chang my code.
> have a nice weekend

      oSMTP   := SMTPClient():new(cMailSrv,nMailPort,cMailID)
      oSender := MailAddress():new(cSender)
      oRcpt   := MailAddress():new(cMailRcpt)
      oMail   := MIMEMessage():new()
      oMail:setFrom( oSender )
      oMail:addRecipient( oRcpt )
      oMail:setSubject('Hello World!')
      oMail:setMessage(cMailMsg)  some text already prepared
      if oSMTP:connect()
         oSMTP:send(oMail)
         oSMTP:disconnect()
      endif

Regards,

Phil Ide

***************************************
* Xbase++ FAQ, Libraries and Sources: *
* goto: http://www.idep.org.uk/xbase  *
***************************************

I used to have a life, then I became a sysop.
R.ReinthalerRe: IDSC
on Sat, 29 Jan 2005 13:10:12 +0100
Hello Phil
thank you, will check it. Have another problem. Since I installed
Bitdefender Antivirus, I cannot see the attachments in Outlook. In the
Webmail interface the attachment is ok. It is only some text and csv-file
attached. Strange
regards
Rudolf

"Phil Ide" <phil@idep.org.uk> schrieb im Newsbeitrag
news:1x7zze73lo1p0$.dlg@idep.org.uk...
> Rudolf,
>
> > thank you, I have it. Will look at the weekend to chang my code.
> > have a nice weekend
>
>       oSMTP   := SMTPClient():new(cMailSrv,nMailPort,cMailID)
>       oSender := MailAddress():new(cSender)
>       oRcpt   := MailAddress():new(cMailRcpt)
>       oMail   := MIMEMessage():new()
>       oMail:setFrom( oSender )
>       oMail:addRecipient( oRcpt )
>       oMail:setSubject('Hello World!')
>       oMail:setMessage(cMailMsg)  some text already prepared
>       if oSMTP:connect()
>          oSMTP:send(oMail)
>          oSMTP:disconnect()
>       endif
>
> Regards,
> --
> Phil Ide
>
> ***************************************
> * Xbase++ FAQ, Libraries and Sources: *
> * goto: http://www.idep.org.uk/xbase  *
> ***************************************
>
> I used to have a life, then I became a sysop.
Phil Ide
Re: IDSC
on Mon, 31 Jan 2005 10:40:54 +0000
Rudolf,

> thank you, will check it. Have another problem. Since I installed
> Bitdefender Antivirus, I cannot see the attachments in Outlook. In the
> Webmail interface the attachment is ok. It is only some text and csv-file
> attached. Strange

The problem with Outlook is that it is not an internet email reader - it
can however, handle internet emails.  This becomes more apparent when you
try to examine headers in individual emails.  Some are stripped out
(sometimes all the headers are removed), and you cannot easily examine the
'raw' message because Outlook transforms the message into an Exchange
format message.

Whet your anitivirus software is doing is unknown.  It could be changing
the names of the attachments into something that falls fould of an Outlook
policy; it could have created an Outlook policy to deal with certain file
types; it could have renamed or even removed headers/attachments.

Regards,

Phil Ide

***************************************
* Xbase++ FAQ, Libraries and Sources: *
* goto: http://www.idep.org.uk/xbase  *
***************************************

Why don't chickens have lips?
R.ReinthalerRe: IDSC
on Wed, 02 Feb 2005 09:37:56 +0100
Hello Phil,
thank you for the explanation, will check without  Virusprotection.
regards
Rudolf

"Phil Ide" <phil@idep.org.uk> schrieb im Newsbeitrag
news:1q9o3min64q9n$.dlg@idep.org.uk...
> Rudolf,
>
> > thank you, will check it. Have another problem. Since I installed
> > Bitdefender Antivirus, I cannot see the attachments in Outlook. In the
> > Webmail interface the attachment is ok. It is only some text and
csv-file
> > attached. Strange
>
> The problem with Outlook is that it is not an internet email reader - it
> can however, handle internet emails.  This becomes more apparent when you
> try to examine headers in individual emails.  Some are stripped out
> (sometimes all the headers are removed), and you cannot easily examine the
> 'raw' message because Outlook transforms the message into an Exchange
> format message.
>
> Whet your anitivirus software is doing is unknown.  It could be changing
> the names of the attachments into something that falls fould of an Outlook
> policy; it could have created an Outlook policy to deal with certain file
> types; it could have renamed or even removed headers/attachments.
>
> Regards,
> --
> Phil Ide
>
> ***************************************
> * Xbase++ FAQ, Libraries and Sources: *
> * goto: http://www.idep.org.uk/xbase  *
> ***************************************
>
> Why don't chickens have lips?