Fossil

Check-in [b3e72035]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:New note on why SMTP might be hard to implement as a sending method.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b3e72035a12c5d0cb7b091bcb9632119a96fbd2073081fa496cc199e29a42da7
User & Date: drh 2018-06-23 17:17:23.131
Context
2018-06-23
17:50
Include the email-sender.tcl script as an example of how to relay from the database drop to /usr/sbin/sendmail. ... (check-in: a677f72f user: drh tags: trunk)
17:17
New note on why SMTP might be hard to implement as a sending method. ... (check-in: b3e72035 user: drh tags: trunk)
17:07
Webpages function (with an sensible error) if the email notification tables are not in the schema. ... (check-in: 98d2338a user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to www/emaildesign.md.
82
83
84
85
86
87
88
89





90
91
92
93
94
95
96
      files in a designated directory.  This might be useful for
      testing and debugging.

Internally, there is a fourth email sending method named "stdout"
which simply writes the text of the email message on standard output.
The "stdout" method is used for testing and debugging.

Perhaps we will add an "smtp" sending method in the future.






The emails transmitted have a well-formed header.  The downstream
processing is expected to extract the "To:", "From:", "Subject:" and
whatever other attributes it needs from the email header text.

All emails are text/plain and use a transfer-encoding of base64.








|
>
>
>
>
>







82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
      files in a designated directory.  This might be useful for
      testing and debugging.

Internally, there is a fourth email sending method named "stdout"
which simply writes the text of the email message on standard output.
The "stdout" method is used for testing and debugging.

Perhaps we will add an "smtp" sending method in the future.  The
main problem with an "smtp" delivery method is that front-line Fossil
running inside the privilege jail would need to deal with all kinds
of errors from SMTP, such as unable to connect, or connection resets,
etc.  SMTP expects the sender to have the ability to retry, does it
not?

The emails transmitted have a well-formed header.  The downstream
processing is expected to extract the "To:", "From:", "Subject:" and
whatever other attributes it needs from the email header text.

All emails are text/plain and use a transfer-encoding of base64.