Hi,
I have set up all the email fields correctly in the various configuration screens in s9y. But it doesn't seem to want to send emails notifying my of posts, new guestbook entries or comments. Any Ideas?
How do I check the interation of the S9y application and the host email server?
I have set up all the email fields correctly in the various configuration screens in s9y. But it doesn't seem to want to send emails notifying my of posts, new guestbook entries or comments. Any Ideas?
How do I check the interation of the S9y application and the host email server?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Email
Hi!
Did you check your local PHP's sendmail integration? Are you using Windows or Linux? s9y simply calls the php Mail() command, so you could create a test.php script simply using mail() and go debugging from there?
Regards,
Garvin
Did you check your local PHP's sendmail integration? Are you using Windows or Linux? s9y simply calls the php Mail() command, so you could create a test.php script simply using mail() and go debugging from there?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
I've never heard of that.If it doesn't support sendmail hooks, you can't use the php MAIL() command....
Regards,
Garvin
I've never heard of that.If it doesn't support sendmail hooks, you can't use the php MAIL() command....
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Having looked at it again, this wasn't it, because it has sent some email out.garvinhicking wrote:Hi!
I've never heard of that.If it doesn't support sendmail hooks, you can't use the php MAIL() command....
Regards,
Garvin
I'm thinking it's a path to server thing. I did move my s9y installation from /serendipity/ to /
is there some PHP I need to alter somewhere, or maybe a directory permission or something else I've missed?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
No, s9y simply uses the mail() command, there is no difference in which path this runs, because it uses no path parameters.
The only thing that mail() uses is the blog's mail address. If that is invalid, this might be a reason why the command fails. You might want to check the jmail server logs whether it accepts/rejects your mails.
HTH,
Garvin
No, s9y simply uses the mail() command, there is no difference in which path this runs, because it uses no path parameters.
The only thing that mail() uses is the blog's mail address. If that is invalid, this might be a reason why the command fails. You might want to check the jmail server logs whether it accepts/rejects your mails.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
I can find the web server logs using FTP. Not a clue how I get into the mail logs.garvinhicking wrote:Hi!
No, s9y simply uses the mail() command, there is no difference in which path this runs, because it uses no path parameters.
The only thing that mail() uses is the blog's mail address. If that is invalid, this might be a reason why the command fails. You might want to check the jmail server logs whether it accepts/rejects your mails.
HTH,
Garvin
The helpfile my host has about sending mail says....b1ackcr0w wrote:I can find the web server logs using FTP. Not a clue how I get into the mail logs.garvinhicking wrote:Hi!
No, s9y simply uses the mail() command, there is no difference in which path this runs, because it uses no path parameters.
The only thing that mail() uses is the blog's mail address. If that is invalid, this might be a reason why the command fails. You might want to check the jmail server logs whether it accepts/rejects your mails.
HTH,
Garvin
How to use Fasthosts' SMTP servers
You can use Fasthosts' SMTP servers to send email if you use:
* Fasthosts Broadband or Fasthosts Dial
* Advanced mailboxes
* scripts on our web servers that send email.
Fasthosts Broadband and Dial: Use smtp.fasthosts.co.uk to send email, ensuring that it is set not to authenticate using a username and password.
does that help?!
-
sonichouse
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Also make sure your blog'S email address is configured to use exactly the mailadress you have. It seems your host blocks any outgoing mail adresses that do not match with that exact mail account.
Regards,
Garvin
Also make sure your blog'S email address is configured to use exactly the mailadress you have. It seems your host blocks any outgoing mail adresses that do not match with that exact mail account.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Yeah, I've double checked that. I've also checked the mailbox is sending and receiving mail. I'm pretty sure I've got it down either to a problem between the host web/mail server, or s9y not send the mail command in a way the host likes.garvinhicking wrote:Hi!
Also make sure your blog'S email address is configured to use exactly the mailadress you have. It seems your host blocks any outgoing mail addresses that do not match with that exact mail account.
Regards,
Garvin
Sorry this is turning out to be such a pain.
Sorry to be a dolt, where do I find php.ini?sonichouse wrote:Fasthosts have a PHP example here.
Check your php.ini to see how it is configured.
Hope this helps.
-
sonichouse
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
Looks like fasthosts locked down their php installation.
Create a html file with the following
upload this to your server directory, and then open the file in your browser.... this will dump the php.ini settings for you to look at.
check the sendmail settings.
Create a html file with the following
Code: Select all
<?php
phpinfo();
?>
check the sendmail settings.
Steve is occasionally blogging here
Looks like it's locked down even tighter. I didn't get any out put at all.sonichouse wrote:Looks like fasthosts locked down their php installation.
Create a html file with the followingupload this to your server directory, and then open the file in your browser.... this will dump the php.ini settings for you to look at.Code: Select all
<?php phpinfo(); ?>
check the sendmail settings.
-
sonichouse
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
I would be tempted to make a copy of your functions.inc.php and then modify the serendipity_sendMail function.
I wonder if your host is being too aggressive when parsing your mail headers.
Try changingto
or even hard code the additional parameter as '-fuser@yourdomain.com'
EDIT updated code to add the ini_set as per their example.
I wonder if your host is being too aggressive when parsing your mail headers.
Try changing
Code: Select all
return mail($maildata['to'], $maildata['subject'], $maildata['message'], implode("\n", $maildata['headers']));Code: Select all
ini_set("sendmail_from", " user@yourdomain.com ");
return mail($maildata['to'], $maildata['subject'], $maildata['message'], implode("\n", $maildata['headers']), '-f.$maildata['blogMail']' );EDIT updated code to add the ini_set as per their example.
Steve is occasionally blogging here