Email PHP not SMTP (replaced patch email.php)

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

Email PHP not SMTP (replaced patch email.php)

by John Eckert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

After replacing the email.php file to enable mailing without SMTP, I get email function but I also get the following error message:

Warning: Cannot modify header information - headers already sent by (output started at /mnt/w0202/d17/s23/b02a1540/www/mysite.com/webcollab-2.11/webcollab-2.11/includes/email.php:105) in /mnt/w0202/d17/s23/b02a1540/www/mysite.com/webcollab-2.11/webcollab-2.11/files/file_submit.php on line 319

 

Emails addresses are random according to the server for example:

From: anonymous@...

 

I have tried ver. 2.10a and now 2.11 and they respond the same.

 

Thanks for your anticipated help to get real email addresses on these messages and to avoid the error messages.

 

John Eckert

higbeest@...

 

 

 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webcollab-users mailing list
Webcollab-users@...
https://lists.sourceforge.net/lists/listinfo/webcollab-users

Re: Email PHP not SMTP (replaced patch email.php)

by Andrew Simpson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 05 Feb 2007 13:52:34 -0500
John Eckert <jeckert@...> wrote:

> After replacing the email.php file to enable mailing without SMTP, I get
> email function but I also get the following error message:
>
> Warning: Cannot modify header information - headers already sent by (output
> started at
> /mnt/w0202/d17/s23/b02a1540/www/mysite.com/webcollab-2.11/webcollab-2.11/inc
> ludes/email.php:105) in
> /mnt/w0202/d17/s23/b02a1540/www/mysite.com/webcollab-2.11/webcollab-2.11/fil
> es/file_submit.php on line 319
>
>

Correct me if I'm wrong, but I understand that you have replaced the email.php file with another custom written file.  I ask this question because I would like to know if it a widespread bug, or just a 'one off' problem.

Assuming it's a custom written file:  Look for whitespace or characters after the '?>' at the end of the email.php file.  This should be line 105 from the error message.

WebCollab sends it's own HTTP headers, rather than relying in the default HTTP headers that PHP sends.  However it is important that _nothing_ is sent to the web client before the HTTP headers are sent.  Whitespace innocently left at the end of files is a common culprit.

>
> Emails addresses are random according to the server for example:
>
> From: anonymous@m1. <mailto:anonymous@...> myhost.com
>

Have you looked at admin_config.php?  If this is a custom file for email, I can't really help.

Andrew

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webcollab-users mailing list
Webcollab-users@...
https://lists.sourceforge.net/lists/listinfo/webcollab-users