UseBB Community

The official board for UseBB help and discussion

UseBB Community » Bug Reports » [FIXED] mail() additional -f parameter causes problems

[FIXED] mail() additional -f parameter causes problems

Page: 1

Author Post
Member
Registered: May 2007
Posts: 2
Location: Russian Federation
Hi, Developers! At registration of the user, the forum has produced an error: E_USER_ERROR - Unable to send e-mail! The hosting. Sendmail works correctly, from a site go, but from a forum is not present.

I have found solution of this problem. In a file functions.php on string 1198 in function mail () I have deleted a code '-f '. $ from_email but php5 for me works not in safe_mode! Obviously, it is a defect in usebb as other scripts correctly send email.
« Last edit by Dietrich on Mon May 07, 2007 12:01 pm. »
Member
Registered: May 2005
Posts: 296
Location: 98671
Been asked before...
http://www.usebb.net/community/topic-1537.html
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
Perhaps the -f parameter should be removed in UseBB, it was added in a patch by Tadashi Jokagi. Perhaps he could elaborate on why this parameter is necessary.

Moving to bug reports.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Developer
Registered: Apr 2004
Posts: 2216
Location: Belgium
I fixed the problem by making the -f parameter a setting in the ACP.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: May 2007
Posts: 2
Location: Russian Federation
Thank you :)

Page: 1

UseBB Community » Bug Reports » [FIXED] mail() additional -f parameter causes problems

UseBB Community is powered by UseBB 1 Forum Software