Index: openacs-4/packages/acs-mail/www/doc/openacs-mail.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail/www/doc/openacs-mail.html,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/acs-mail/www/doc/openacs-mail.html 13 Aug 2001 18:24:35 -0000 1.1 +++ openacs-4/packages/acs-mail/www/doc/openacs-mail.html 6 Sep 2001 20:14:11 -0000 1.2 @@ -363,7 +363,7 @@ ... 'text/html', -- mime_type ... - 'HTML message content', -- text + 'HTML <b>message</b> content', -- text ... ) @@ -450,15 +450,15 @@ addresses'.
  • The tcl procedure that sends out the mail - acs_mail_process_queue calls a procedure + (acs_mail_process_queue) calls a procedure acs_mail_body_to_output_format that sets up the parameters to call ns_sendmail. This proc gets the from and to address from acs_mail_bodies. acs_mail_process_queue then overwrites the from and to address with the values from envelope_from and envelope_to in the acs_mail_queue_outgoing table. So, if you supply the from and to address in acs_mail_bodies, they get overwritten by whatever is in acs_mail_queue_outgoing. (Actually it's a little - more complicated than that because acs_mail_body_to_output_format + more complicated than that because acs_mail_body_to_output_format also adds the addresses as Headers in the 5th param to ns_sendmail, so you could get duplicate To: and From: headers. Bottom line: Don't fill in the To: and From: fields in acs_mail_bodies. Instead, @@ -476,7 +476,7 @@
    Vinod Kurup
    -Last modified: Fri Aug 10 21:46:41 EDT 2001 +Last modified: Thu Sep 6 16:06:38 EDT 2001