Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 19 JUL 2012 12:16:16PM Paxton Scott wrote:

Greetings!

I have been using OI 9.1.1 smtpmail for some years, just fine.

Recently, working on an application that calls the function twice to send emails to two parties I have the issue where sometimes, it returns only the first field "REQS^All OK" (^ is the @vm) in stead of the normal 5 fields

This does not happen every time, so I am thinking something maybe timing to do with my ISP.

I have put a 2+ second delay between calls, not clear if that helps.

Another idea I am thinking of but not tried is to repeat the call 1 or 2 times before giving up when this happens.

So, I guess the question is: Under what conditions will the function return only "REQS All OK" (field one) only?

Any Insights?

Have fun,

Paxton


At 20 JUL 2012 01:16PM Dave Harmacek wrote:

Can't answer you formal question.

But, I always send mail, call Yield(), then delay 1000 ms

Dave Harmacek

Harmacek Database Systems


At 20 JUL 2012 01:23PM Paxton Scott wrote:

Thanks, Dave. Good advice.

Paxton


At 26 JUL 2012 02:45AM S Smith wrote:

Try establish a session with telnet to your server and see if it has any irregular prompt messages from the server, or any notable delays. These could be messing with the flow of SMTPmail.

There were calls for SMTPMAIL to "yield" via KERNEL32.DLL throughout its execution. These are prototyped as

ULONG STDCALL Sleep(ULONG) AS "whateverRevsoftNamedit"

Maybe these need to be altered if they still exist….

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/1dfd0c8d0004ed7c18d178b00.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1