Email

Having trouble installing serendipity?
b1ackcr0w
Regular
Posts: 19
Joined: Thu Jul 03, 2008 8:27 am
Contact:

Post by b1ackcr0w »

Parse error: syntax error, unexpected T_STRING in /home/fhlinux145/a/artofcomplaint.com/user/htdocs/include/functions.inc.php on line 538
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Post 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
Steve is occasionally blogging here
b1ackcr0w
Regular
Posts: 19
Joined: Thu Jul 03, 2008 8:27 am
Contact:

Post by b1ackcr0w »

Big qudos to sonichouse, IT WORKS :D 8)
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Post 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'] ?
Steve is occasionally blogging here
b1ackcr0w
Regular
Posts: 19
Joined: Thu Jul 03, 2008 8:27 am
Contact:

Post 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.
b1ackcr0w
Regular
Posts: 19
Joined: Thu Jul 03, 2008 8:27 am
Contact:

Post 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?!
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Post 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 ?
Steve is occasionally blogging here
Post Reply