[WebDNA] How WebDNA email sending works...
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108559
interpreted = N
texte = I thought it could be interesting for all of you to know exactly how the =mail system works with WebDNA:WebDNA writes the mail to be sent in /EMailFolder. There is only 1 =thread sending email unless someone has sandboxing turned on (version =6.2). The email thread sleeps for X ticks, then wakes up, runs through =the EMailFolder, processes one single acceptable mail by forwarding it =to a SMTP 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 a =localhost SMTP server or an external one.It will only process one email file for each sleep/wake cycle. So if the =main thread starts to write a new email file while the email thread is =in the 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 =email thread will consider it during the next wake cycle.- chris=
Associated Messages, from the most recent to the oldest:
I thought it could be interesting for all of you to know exactly how the =mail system works with WebDNA:WebDNA writes the mail to be sent in /EMailFolder. There is only 1 =thread sending email unless someone has sandboxing turned on (version =6.2). The email thread sleeps for X ticks, then wakes up, runs through =the EMailFolder, processes one single acceptable mail by forwarding it =to a SMTP 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 a =localhost SMTP server or an external one.It will only process one email file for each sleep/wake cycle. So if the =main thread starts to write a new email file while the email thread is =in the 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 =email thread will consider it during the next wake cycle.- chris=
christophe.billiottet@webdna.us
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:
Bug Report, maybe (1997)
[username][password] not showing up! HELP! (1999)
Almost a there but..bye bye NetCloak (1997)
Weird Math (2000)
Fields/Forms Processing (1998)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
foreign languages, email, webcat (1998)
RED QUESTION MARK (1999)
New servers and new inline cache (1997)
Another question (1997)
[WebDNA] Data Type Bool (2009)
page redirect in webDNA (1997)
WriteFile is there a max size? (1998)
pull downs (1997)
list items (1998)
can WC render sites out? (1997)
Not really WebCat- (1997)
writing db to disk (1997)
gateway application timeouts (1998)
Re:2nd WebCatalog2 Feature Request (1996)