Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 02-18-2008, 12:12 AM
mgd711's Avatar
mgd711 Offline
pp veteran
 
Join Date: Jun 2007
Posts: 56
Send a message via MSN to mgd711 Send a message via Yahoo to mgd711 Send a message via Skype™ to mgd711
PHP Mail

About 10 months ago I asked here why PHP mail wasn't working on my blog.

So I'm back again with a similar problem......

I switched host's on Saturday and installed my blog on a new server, everything worked fine until yesterday evening when I stopped getting e-mail's on comments.

The Includes/function_comments.php file read

// Additional headers
if ($comment_email!="") $headers .= "From: $comment_name <$comment_email>\n";
else $headers .= "From: PIXELPOST <$admin_email>\n";

$recipient_email = "admin <$admin_email>";
} // if (cfgrow['htmlemailnote']=='no')

so I changed it to....


// Additional headers
if ($comment_email!="") {$headers .= "From: $comment_name <$admin_email>\r\n"; $headers .= "Reply-To: $comment_name <$comment_email>\r\n"; }
else $headers .= "From: PIXELPOST <$admin_email>\r\n";
$recipient_email = "admin <$admin_email>";
} // if (cfgrow['htmlemailnote']=='no')

Which worked fine on my old host.

As I see it this is unlikely to be a PP problem but a problem with my new host.

The question is whats changed?



Mike
Reply With Quote
  #2  
Old 02-18-2008, 01:22 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Try using the mail test script, found here:

http://www.pixelpost.org/forum/showt...3425#post53425

That way you can find out if it's a server issue or a Pixelpost issue.
__________________
Jay Williams | A Different View
Reply With Quote
  #3  
Old 02-18-2008, 05:52 AM
mgd711's Avatar
mgd711 Offline
pp veteran
 
Join Date: Jun 2007
Posts: 56
Send a message via MSN to mgd711 Send a message via Yahoo to mgd711 Send a message via Skype™ to mgd711
Thanks Jay,

Did that and is say's "Mail successfully sent to <xxxx@xxxxxxxxx.com>"

But nothing arrived in my In Box.



Mike
Reply With Quote
  #4  
Old 02-18-2008, 06:07 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Mike, do you have a spam filter in your email account? Try to check this out, perhaps your emails are cought by that?
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #5  
Old 02-18-2008, 11:54 AM
mgd711's Avatar
mgd711 Offline
pp veteran
 
Join Date: Jun 2007
Posts: 56
Send a message via MSN to mgd711 Send a message via Yahoo to mgd711 Send a message via Skype™ to mgd711
Checked and double checked the spam box, nothing there.

The e-mail address the comments should be sent to is a Yahoo hosted domain. My other e-mails are coming through ok and I can e-mail from hotmail to it with out any problem.




Mike
Reply With Quote
  #6  
Old 02-18-2008, 03:26 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Sounds like you need contact your web host.
They seem to have php's mail function configured strangely.

Send them the link to the mail test, and ask them why it doesn't work.
__________________
Jay Williams | A Different View
Reply With Quote
  #7  
Old 02-18-2008, 03:29 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
and especially why it worked before...
I still suspect the spam filter of your hoster, are you sure that they show you all the spam?

And the silly question (sorry): plz check if the admin mail option is set to "yes" in Admin options
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #8  
Old 02-18-2008, 09:17 PM
mgd711's Avatar
mgd711 Offline
pp veteran
 
Join Date: Jun 2007
Posts: 56
Send a message via MSN to mgd711 Send a message via Yahoo to mgd711 Send a message via Skype™ to mgd711
Problem solved!!

Hard to believe but it was operator error, on my part that is..............

I created a new account for my other domain, the one the e-mail account is on, in preperation of moving that site onto the new server. I didn't change the MX records or the DNS just an empty account however it confused the hell out of sendmail!

I expect a few more speed bumps along the road but I'm learning!




Mike
Reply With Quote
  #9  
Old 02-19-2008, 03:34 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Yup that would do it.

Nothing like some misconfigured DNS to cause all sorts of strange issues.
It sounds like you've got it under control now.
__________________
Jay Williams | A Different View
Reply With Quote
  #10  
Old 02-19-2008, 05:45 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
great that it is working now!
(and great it is not fault of Pixelpost though ;-))
__________________
Uh!log Photoblog
My Addons
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:55 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs