• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Changed the no-callback switch to boolean

adding no_callback switch to acs-mail-lite::complex_send and ::send to restrict callbacks

Importing on behalf of Nima. Enhancement for the support of incoming email

    • -74
    • +94
    ./acs-mail-lite-callback-procs.tcl
    • -19
    • +38
    ./acs-mail-lite-callback-procs.xql
  1. … 1 more file in changeset.
Fix bug#2629. Use Postgresql syntax to cast to an interval. It doens't matter if we use the oracle style convenience funciton since this is still a postgresql specific query.

Added callback procedures

    • -0
    • +29
    ./acs-mail-lite-callback-procs.xql
Make acs_mail_lite::send doc message slightly less ambigous

adding quotes to query to execute the tcl procedure

Formatting changes

Made sure to only provide complex send if it can be run

scan_replies has been removed -- see http://cvs.openacs.org/cvs/openacs-4/packages/acs-mail-lite/tcl/acs-mail-lite-procs.tcl?r1=1.26&r2=1.27 -- so it shouldn't be ad_scheduled

New processing of incoming mail by Nima

added callback procs

bugfix: fixing error in sendmail proc - wrong catch expression

doh forgot to init err1

need to catch close since if close fails you could send message over and over

Using the hostname is considerable better than using ad_url. Just in case we strip out "http://" in case someone accidently set the hostname with an http:// in front (not sure if AOLserver would allow this in the first place, but the devil is in the details).

ad_url is supposed to work even if ns_hostname resolves to a non existing domain for whatever the reason

Added a catch, just in case

Changes to accomodate latest version of file upload proc

  1. … 1 more file in changeset.
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
I forgot to set the subject in the mime type

well, you should be able to send the f*** mail...

added a callback for ::send as well

Added complex_send procedure

commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.
Move a lot of the ns_log statements to Debug level instead of Notice.

Trimming off any lingering CR (\r) line terminators before appending CRLF (\r\n). build_mime_message was leaving extra CRs around, causing some havoc for certain mail servers and clients when running with SMTP.

Fix bug in patch 528 for bug 1887 applied by me with a typo. Noticed by

Steve Woodcock.

Applying patch 528 for bug 1887: Single point in mail body causes problems.