|
#1
|
||||
|
||||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
Thanks Jay,
Did that and is say's "Mail successfully sent to <xxxx@xxxxxxxxx.com>" But nothing arrived in my In Box. Mike |
|
#4
|
||||
|
||||
|
Mike, do you have a spam filter in your email account? Try to check this out, perhaps your emails are cought by that?
|
|
#5
|
||||
|
||||
|
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 |
|
#6
|
||||
|
||||
|
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 |
|
#7
|
||||
|
||||
|
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 |
|
#8
|
||||
|
||||
|
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 |
|
#9
|
||||
|
||||
|
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 |
|
#10
|
||||
|
||||
|
great that it is working now!
(and great it is not fault of Pixelpost though ;-)) |
| Post Reply |
| Thread Tools | |
|
|