Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1:/tmp/cvs-serv12179
In some cases the emails were not sent. After investigation the problem was
found to be in the case where use_bcc = ON and to_email was sent to ''. This is
because the recipient was found to be empty and hence the email was not sent.
There was no checking for the headers to check the bcc. I added a quick fix
which can be improved later.
M .cvsignore: Added phpmailer files to the cvs ignore list.
(email_bug_info): Changed the checking of the headers / to_email being empty
to use is_blank().
- Only activate shortcut to exit email_send() if recipient (to) is
empty and bcc is OFF. For now, we assume that if bcc is ON, it will contain
some recipients, this will need to be changed later by separating headers from
- Adjust the formatting of the email debug feature where extra commas were
added at the end of the to / bcc list.
- Used is_blank() to test the $p_recipients.
- Changed include_once() for phpmailer to require_once().
RCS file: /cvsroot/mantisbt/mantisbt/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- .cvsignore 24 Aug 2002 02:53:05 -0000 1.3
+++ .cvsignore 29 Jan 2003 00:12:10 -0000 1.4
@@ -2,4 +2,6 @@
\ No newline at end of file
Get latest updates about Open Source Projects, Conferences and News.