acs-mail-lite-callback-procs.tcl

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Importing on behalf of Nima. Enhancement for the support of incoming email

    • -74
    • +94
    ./acs-mail-lite-callback-procs.tcl
  1. … 4 more files in changeset.
New processing of incoming mail by Nima

  1. … 1 more file in changeset.
added callback procs

file acs-mail-lite-callback-procs.tcl was added on branch oacs-5-2 on 2005-07-26 16:46:01 +0000

Callbacks for acs-mail-lite

    • -0
    • +33
    ./acs-mail-lite-callback-procs.tcl