Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 07 FEB 2005 04:34:29PM Craig Buckley wrote:

The new SENDMAIL function appears to work perfectly in our environment until I try to use attachments.

I can stick SENDMAIL in a loop and deliver 15 emails in a split second when no attachments are used. All 15 get delivered without exception. The same loop, with an attachment specified, will, at best, deliver only some of the 15.

Its almost as though the SMTP server gets "jammed up" while trying to process previous attachment requests and just skips sending any subsequent email request with an attachment until the first is complete.

I've tried sticking a 1 minute delay in the delivery loop but its almost like I get one attachment per "session". Once one attachment goes flaky nothing else seems to work. The delay does not improve the results.

In all cases the result returned by SENDMAIL is an array of OKs with no error reported. It thinks its working OK.

I've talked to our server support guys and this symptom is new to them. I don't know whether to question the SENDMAIL function's reliability or something with how our SMTP server was set up.

This is all just "plumbing" to me and I'm quite uninitiated.

Any ideas about how to debug and determine which layer of software is screwing up?


At 07 FEB 2005 04:43PM Sean FitzSimons wrote:

Craig,

Try a Yield() after the Sendmail function.

Sean


At 07 FEB 2005 05:49PM Donald Bakke wrote:

Craig,

Another way to test "which side of the fence" the problem is on is to download our SRPMail utility. This also sends emails directly to the SMTP server so you can use your same loop to test. It will append an eval message to the text of the email but it will be sufficient for you to determine if the server is having trouble or something else.

[email protected]

SRP Computer Solutions, Inc.


At 17 FEB 2005 09:36AM Craig Buckley wrote:

I've resolved this.

It turns out that the bug with the attachments was actually a Notes Domino server bug. Our internal email at this site is Notes and there is a "feature" in Notes that often truncates the smtp string at the first carriage-return-line-feed. This was what was happening in my situation. The body of the message had a in it causing the NOTES software to ignore the rest of the data string, including the attachment. When I altered the body of the message to use only the problem went away!

Thanks for your review.

Craig

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/a4daff2e0340684d85256fa1007683a2.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1