regarding the email patch

View: New views
2 Messages — Rating Filter:   Alert me  

regarding the email patch

by Pratyush-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

please help me..

thank you in advance,
Pratyush

--
Scriptman
Live and let live for free world and free computer community

http://www.swecha.org
http://www.jignasa.net
http://www.instrospirits.org
http://te.openoffice.org
http://www.tolipoddu.org
http://www.jhansi.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Webcollab-users mailing list
Webcollab-users@...
https://lists.sourceforge.net/lists/listinfo/webcollab-users

Re: regarding the email patch

by Andrew Simpson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 23 Nov 2006 00:30:41 +0530
pratyush <pratyush@...> 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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Webcollab-users mailing list
Webcollab-users@...
https://lists.sourceforge.net/lists/listinfo/webcollab-users