acs-mail-lite-callback-procs.tcl

  • last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix typos

  1. … 3 more files in changeset.
merge with changes from https://github.com/tekbasse/acs-mail-lite/tree/master/tcl

in essence, these changes provide support for handling email with attachments based on nsIMAP.

see https://openacs.org/forums/message-view?message_id=5378972 for more background

    • -5
    • +134
    ./acs-mail-lite-callback-procs.tcl
  1. … 71 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

    • -15
    • +14
    ./acs-mail-lite-callback-procs.tcl
  1. … 7834 more files in changeset.
Fix spelling errors

  1. … 12 more files in changeset.
- perform cleanup and call callback as well in error situations

to be able to handle failed smtp deliveries

- add optional arguments "-status" and "-errorMsg" to interface

of callback acs_mail_lite::send

  1. … 1 more file in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
New feature: now one can send plain filesystem files as email attachments, instead than only those into file-storage

  1. … 8 more files in changeset.
- use "lassign" instead of "util_unlist"

  1. … 19 more files in changeset.
Remove complex-send as agreed in TIP#127

  1. … 20 more files in changeset.
- eliminated dead code

Fix typo user should be user_id

TIP#127 Add object_id as optional parameter to acs_mail_lite::send

  1. … 3 more files in changeset.
Added an explicit blank body to two callbacks added by Malte, so automated

tests will pass. This is about the third release in which I've had to do

this. Simply adding "-" after the empty doc comment block is sufficient,

ad_proc treats that as an empty body.

Replace send procs with a refactored version of complex_send, allowing cc, bcc and attachments

    • -23
    • +52
    ./acs-mail-lite-callback-procs.tcl
  1. … 6 more files in changeset.
Indent code

  1. … 3 more files in changeset.
Added checking for valid emails and record bounces when the email is not valid

  1. … 4 more files in changeset.
When i added documentation blocks to these callbacks, the call back def code

started complaining that the body {\n} is not empty. Replaced this with the

"-" empty body marker. Interestingly:

ad_proc -callback {

params

} {

}

apparenly does not trigger the "non-empty body" error. Apparently the callback def

only checks if there's a docblock passsed to ad_proc ... a "gotcha".

Upgraded version to reflect it is part of core now. Added incoming_object_email callback as per http://openacs.org/xowiki/incoming_email. Moved incoming e-mail procs to a separate file

  1. … 3 more files in changeset.
Added dummy "Malte: please document these callbacks" comments to appease

our automated test procs. This release is supposed to be the "no core

tests fail" release ... adding procs without doc comments breaks that.

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Support for from_addr in addition sender_id in the complex_send callback. Correctly handle incoming file attachments. Get rid of hard coded subject_encoding

  1. … 3 more files in changeset.
Cleaning up. Removed the code for prefix handling as it does not work. Changed Oracle scripts and make them look nicer.

  1. … 14 more files in changeset.
Fixed bouncing and record bounces when SMTP server does not like the email address

  1. … 3 more files in changeset.
Support for using party_ids instead of email addresses with complex_send. Upgraded callback

  1. … 1 more file in changeset.
support for CC emails

  1. … 2 more files in changeset.
Added new table which make the callback work for mail tracking lite

  1. … 2 more files in changeset.
Fixed problem with my comment...

Added salutation support

  1. … 1 more file in changeset.
Changed the support for the fixed sender mail so that still the original sender will be shown in the mail-tracking despite the fact that sendmail will get the fixed sender mail

  1. … 1 more file in changeset.