SIMS & WebCat .... Alias Folder
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41820
interpreted = N
texte = Instead of Emailer, we use SIMS. One benefit of SIMS is that it can beconfigured to talk directly to mail servers when sending emails whereasEmailer needs to have an outgoing smtp server. Being able to talk directlyto a mail server allows SIMS to report why any scheduled emails failed todeliver (wrong address, no such domain, unknown address, etc.).As per the SIMS docs as well as archived info on the WC Talk List, weconfigured both correctly, using an alias of the Submitted Folder, renamedcorrectly to replace the EMailFolder that WC uses. Works nicely without ahitch until recently.When some email files are written to the aliased EMailFolder, it getstransferred to the Submitted Folder, as it is supposed to, but thenremains there without being sent out. If one Save As those hung filesreplacing the existing copy .... SIMS immediately dispatches it out.We did some digging into this problem and discovered that it comes down tofile size of the email file being written into the aliased EMailFolder. Itappears that anything that is under 4K dispatches without incident but thosethat we have which are 8K .... Are the ones hung in the Submitted Folder.If we wrote the email files directly into the Submitted Folder, not usingany alias folder .... Then all is well regardless of the file size. Ofcourse this means that we have to use WriteFile context instead of Sendmail.To continue using Sendmail context, we actually have to use the WaitforFileand then MoveFile ... Basically, generating the email file in the nownon-aliased EMailFolder and then moving it to the Submitted Folder. Hereagain, it works regardless of file size of the outgoing email.So ... It appears that when an alias is used for the Submitted Folder inSIMS, email file size does matter since the time it takes for the file to becompletely written to disk may be longer then the time for SIMS to detectthere is a file there and process it for dispatch. Hence, the hung files.Guess this is subject to speed of CPU, etc.The other thing is that Emailer checks the EMailFolder regularly for filesto send and will keep doing it .... Moving it to the CompletedFolder whendone, successful or otherwise. SIMS is supposed to do the same for theSubmitted Folder, which it does when a file is first detected but when itremains there because it is still being written, it does not pick it upsubsequently for processing until the file date/time is reset by manuallySave As..ing the file again. Check SIMS Temp Files Folder in the SystemsFolder and there will be the mirrored temp files there with zero file sizecorresponding to the emails that got hung.This is what we have encountered. Has anyone out there using SIMS / WC4.5 /MacOS9.2 / WS4.5 combo experienced this quirk ... For large email filesizes? It is not a major issue and we will continue to use SIMS since we nowknow how to work around it ... WriteFile straight to the Submitted Folder,no alias.Just thought I share this snippet in case some folks out there, using SIMSwith WC may be having similar problems.Cheers Terry Nair-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Instead of Emailer, we use SIMS. One benefit of SIMS is that it can beconfigured to talk directly to mail servers when sending emails whereasEmailer needs to have an outgoing smtp server. Being able to talk directlyto a mail server allows SIMS to report why any scheduled emails failed todeliver (wrong address, no such domain, unknown address, etc.).As per the SIMS docs as well as archived info on the WC Talk List, weconfigured both correctly, using an alias of the Submitted Folder, renamedcorrectly to replace the EMailFolder that WC uses. Works nicely without ahitch until recently.When some email files are written to the aliased EMailFolder, it getstransferred to the Submitted Folder, as it is supposed to, but thenremains there without being sent out. If one Save As those hung filesreplacing the existing copy .... SIMS immediately dispatches it out.We did some digging into this problem and discovered that it comes down tofile size of the email file being written into the aliased EMailFolder. Itappears that anything that is under 4K dispatches without incident but thosethat we have which are 8K .... Are the ones hung in the Submitted Folder.If we wrote the email files directly into the Submitted Folder, not usingany alias folder .... Then all is well regardless of the file size. Ofcourse this means that we have to use WriteFile context instead of Sendmail.To continue using Sendmail context, we actually have to use the WaitforFileand then MoveFile ... Basically, generating the email file in the nownon-aliased EMailFolder and then moving it to the Submitted Folder. Hereagain, it works regardless of file size of the outgoing email.So ... It appears that when an alias is used for the Submitted Folder inSIMS, email file size does matter since the time it takes for the file to becompletely written to disk may be longer then the time for SIMS to detectthere is a file there and process it for dispatch. Hence, the hung files.Guess this is subject to speed of CPU, etc.The other thing is that Emailer checks the EMailFolder regularly for filesto send and will keep doing it .... Moving it to the CompletedFolder whendone, successful or otherwise. SIMS is supposed to do the same for theSubmitted Folder, which it does when a file is first detected but when itremains there because it is still being written, it does not pick it upsubsequently for processing until the file date/time is reset by manuallySave As..ing the file again. Check SIMS Temp Files Folder in the SystemsFolder and there will be the mirrored temp files there with zero file sizecorresponding to the emails that got hung.This is what we have encountered. Has anyone out there using SIMS / WC4.5 /MacOS9.2 / WS4.5 combo experienced this quirk ... For large email filesizes? It is not a major issue and we will continue to use SIMS since we nowknow how to work around it ... WriteFile straight to the Submitted Folder,no alias.Just thought I share this snippet in case some folks out there, using SIMSwith WC may be having similar problems.Cheers Terry Nair-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Terry Nair
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
can WC render sites out? (1997)
[WebDNA] MD5 Hash issue (2009)
Re:Copyright ? (1997)
WebCatalog can't find database (1997)
[/application] error? (1997)
Download capabilities (1997)
Include vs. lookup? (1998)
Word wrapping (1997)
Server slowing down. (1997)
[WebDNA] Snow Leopard (2009)
embedded showif statements (2000)
security (1997)
'Document Contains No Data' (1999)
OT: Version Control (2007)
OT: Poll Please (2002)
Associative lookup style? (1997)
Opinion: [input] should be called [output] ... (1997)
RE: [isfolder] and [filename] (1997)
Username for Admin Group (1997)
can you take a look (2003)