On Thu, 23 Nov 2006 00:30:41 +0530
pratyush <pra...@op...> wrote:
> Hello,
>
> As i got problems with my smtp server ( i got error pages that.. contact
> administrator regarding your smtp server ), so i patched with the
> email.php( phpmail function).
>
> But when i want to send mails then it is giving the following error.
>
> *Warning*: Cannot modify header information - headers already sent by
> (output started at
> /home/pragnaor/public_html/softwares/webcollab-2.10a/includes/email.php:105)
> in */home/pragnaor/public_html/softwares/webcollab-2.10a
> /users/user_mail_send.php* on line *140
>
If you've patched a file for you own reasons, then it's not up to the original author to fix it when it doesn't work :-)
That said: I would guess that you have whitespace or empty line feeds after the closing '?>' at Line 105 in email.php. Remove the whitespace to fix the problem.
If you turn on debugging in the config file, you would get a comprehensive log of the email transaction with the original WebCollab email code.
Andrew
|