Fossil SCM

New note on why SMTP might be hard to implement as a sending method.

drh 2018-06-23 17:17 trunk
Commit b3e72035a12c5d0cb7b091bcb9632119a96fbd2073081fa496cc199e29a42da7
1 file changed +6 -1
--- www/emaildesign.md
+++ www/emaildesign.md
@@ -84,11 +84,16 @@
8484
8585
Internally, there is a fourth email sending method named "stdout"
8686
which simply writes the text of the email message on standard output.
8787
The "stdout" method is used for testing and debugging.
8888
89
-Perhaps we will add an "smtp" sending method in the future.
89
+Perhaps we will add an "smtp" sending method in the future. The
90
+main problem with an "smtp" delivery method is that front-line Fossil
91
+running inside the privilege jail would need to deal with all kinds
92
+of errors from SMTP, such as unable to connect, or connection resets,
93
+etc. SMTP expects the sender to have the ability to retry, does it
94
+not?
9095
9196
The emails transmitted have a well-formed header. The downstream
9297
processing is expected to extract the "To:", "From:", "Subject:" and
9398
whatever other attributes it needs from the email header text.
9499
95100
--- www/emaildesign.md
+++ www/emaildesign.md
@@ -84,11 +84,16 @@
84
85 Internally, there is a fourth email sending method named "stdout"
86 which simply writes the text of the email message on standard output.
87 The "stdout" method is used for testing and debugging.
88
89 Perhaps we will add an "smtp" sending method in the future.
 
 
 
 
 
90
91 The emails transmitted have a well-formed header. The downstream
92 processing is expected to extract the "To:", "From:", "Subject:" and
93 whatever other attributes it needs from the email header text.
94
95
--- www/emaildesign.md
+++ www/emaildesign.md
@@ -84,11 +84,16 @@
84
85 Internally, there is a fourth email sending method named "stdout"
86 which simply writes the text of the email message on standard output.
87 The "stdout" method is used for testing and debugging.
88
89 Perhaps we will add an "smtp" sending method in the future. The
90 main problem with an "smtp" delivery method is that front-line Fossil
91 running inside the privilege jail would need to deal with all kinds
92 of errors from SMTP, such as unable to connect, or connection resets,
93 etc. SMTP expects the sender to have the ability to retry, does it
94 not?
95
96 The emails transmitted have a well-formed header. The downstream
97 processing is expected to extract the "To:", "From:", "Subject:" and
98 whatever other attributes it needs from the email header text.
99
100

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button