Page 2 of 2

Posted: Sat Sep 20, 2008 8:50 pm
by b1ackcr0w
Parse error: syntax error, unexpected T_STRING in /home/fhlinux145/a/artofcomplaint.com/user/htdocs/include/functions.inc.php on line 538

Posted: Sat Sep 20, 2008 9:23 pm
by sonichouse
b1ackcr0w wrote:Parse error: syntax error, unexpected T_STRING in /home/fhlinux145/a/artofcomplaint.com/user/htdocs/include/functions.inc.php on line 538
Sorry :cry:

how about

Code: Select all

ini_set("sendmail_from", " user@yourdomain.com "); 

return mail($maildata['to'], $maildata['subject'], $maildata['message'], implode("\n", $maildata['headers']), '-fuser@yourdomain.com' );
I was coding blind, as I don't need the extra stuff.

HTH

Posted: Sat Sep 20, 2008 9:47 pm
by b1ackcr0w
Big qudos to sonichouse, IT WORKS :D 8)

Posted: Sat Sep 20, 2008 9:51 pm
by sonichouse
b1ackcr0w wrote:Big qudos to sonichouse, IT WORKS :D 8)
Glad we got to the bottom of it :lol:

Did you end up hardcoding the email or using $maildata['blogMail'] ?

Posted: Sat Sep 20, 2008 10:18 pm
by b1ackcr0w
sonichouse wrote:
b1ackcr0w wrote:Big qudos to sonichouse, IT WORKS :D 8)
Glad we got to the bottom of it :lol:

Did you end up hardcoding the email or using $maildata['blogMail'] ?
Harcoding, I just wanted the issue resolved, and once set, I won't want to change it.

Posted: Sun Sep 21, 2008 11:44 am
by b1ackcr0w
Ah, Looks like I've swapped one problem for another. I can't install any plugins since I made that change last night. Is it because I hard coded the mail address?!

Posted: Sun Sep 21, 2008 12:15 pm
by sonichouse
b1ackcr0w wrote:Ah, Looks like I've swapped one problem for another. I can't install any plugins since I made that change last night. Is it because I hard coded the mail address?!
I am not sure how changing the mail functions should affect the plugins.

Does it work if you revert to the original functions.inc.php ?

What message are you getting ?