RE: [WebDNA] How WebDNA email sending works...
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108581
interpreted = N
texte = Chris,Thank you so much for this explanation.Lori >I thought it could be interesting for all of you to know exactly how themail system works with WebDNA:>WebDNA writes the mail to be sent in /EMailFolder. There is only 1 threadsending email unless someone has >sandboxing turned on (version 6.2). Theemail thread sleeps for X ticks, then wakes up, runs through the>EMailFolder, processes one single acceptable mail by forwarding it to aSMTP server, adds a log entry in >/EMailLog and moves the mail to/EMailCompleted, then sleeps for X ticks, and repeats.>Acceptable means that the filename ends in the word "done".>Processing the mail means the mail is sent through port 25 to either alocalhost SMTP server or an external >one.>It will only process one email file for each sleep/wake cycle. So if themain thread starts to write a new >email file while the email thread is inthe middle of a waking cycle, it does not matter. It will be ignored until>the main thread renames it to end in "done", at which point the emailthread will consider it during the next >wake cycle. >chris
Associated Messages, from the most recent to the oldest:
Chris,Thank you so much for this explanation.Lori >I thought it could be interesting for all of you to know exactly how themail system works with WebDNA:>WebDNA writes the mail to be sent in /EMailFolder. There is only 1 threadsending email unless someone has >sandboxing turned on (version 6.2). Theemail thread sleeps for X ticks, then wakes up, runs through the>EMailFolder, processes one single acceptable mail by forwarding it to aSMTP server, adds a log entry in >/EMailLog and moves the mail to/EMailCompleted, then sleeps for X ticks, and repeats.>Acceptable means that the filename ends in the word "done".>Processing the mail means the mail is sent through port 25 to either alocalhost SMTP server or an external >one.>It will only process one email file for each sleep/wake cycle. So if themain thread starts to write a new >email file while the email thread is inthe middle of a waking cycle, it does not matter. It will be ignored until>the main thread renames it to end in "done", at which point the emailthread will consider it during the next >wake cycle. >chris
"Lori Palmquist"
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:
Cookie woes with Mac IE4 (1998)
vcode (2003)
RE: Web Logs (1998)
Error, 101 a DNS problem ? (1997)
RE: WebCatalog2 for NT Beta Request (1997)
RE: webcat license???? (1997)
SiteEdit Pro Update Announcement (1997)
Unknown error: OrderNotCreated (1997)
WebCatalog2 Feature Feedback (1996)
Webdna and Plesk on MS server2003 (2008)
TCPConnect, Form Post, Template Variable (2003)
[WebDNA] Safari & Cookies (2009)
Again: tcpconnect problem with authorize.net (2003)
Questions To Answer (1997)
Re:no [search] with NT (1997)
More on the email templates (I like it) (1997)
[Sum] function? (1997)
[showif] with ! (2000)
WebDNA-Talk Digest mode broken (1997)
State DB & TIme Zones (2003)