Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Scratching my Head on April 16, 2010, 05:34:37 PM

Title: No email notification when receiving a personal message
Post by: Scratching my Head on April 16, 2010, 05:34:37 PM
Not sure how it happened, but I'm looking for what I might change to correct this. Here's the situation:

When members send a personal message, if checked, the member being sent a personal message should receive a notification by email telling that member they have a new personal message.

This is not happening.

Any thoughts?


I am running 1.1.11, and I am comfortable with making manual edits.
Title: Re: No email notification when receiving a personal message
Post by: Scratching my Head on April 18, 2010, 05:14:11 PM
Yeah. Still happening. Thought it was fixed, but still no email notification.

Any love?
Title: Re: No email notification when receiving a personal message
Post by: Kill Em All on April 18, 2010, 06:11:50 PM
How was it fixed when its still not working? Does your forum still send emails for news letters, or for registration?

Is there anything in your error log?
Title: Re: No email notification when receiving a personal message
Post by: Scratching my Head on April 18, 2010, 09:25:19 PM
I set up a test account. The registration email was fine.

I then sent that test user a p.m.
The email address is a test account on my domain.

The test user gets emails indicating they have a p.m.

Test newsletters get sent without a hitch.


As admin, though, my account may be in a different league than the test account.


But when that test account sends a p.m. to me, I don't get an email indicating I have mail.

Nothing in error log.



Where would I look to see if a mod I installed futzed with something?
Does anyone know.
Title: Re: No email notification when receiving a personal message
Post by: Kill Em All on April 18, 2010, 09:50:20 PM
First check your profile. You probably have notifications disabled.
Profile>Modify Profile>Notifications:
Receive forum newsletters, announcements and important notifications by email. -tick this
Turn notification on when you post or reply to a topic.
When sending notification of a reply to a topic, send the post in the email (but please don't reply to these emails.)
Title: Re: No email notification when receiving a personal message
Post by: Scratching my Head on April 18, 2010, 09:53:45 PM
Quote from: Kill Em All on April 18, 2010, 09:50:20 PM
First check your profile. You probably have notifications disabled.

No. No I don't have notifications disabled.

QuoteProfile>Modify Profile>Notifications:
Receive forum newsletters, announcements and important notifications by email. -tick this
Turn notification on when you post or reply to a topic.
When sending notification of a reply to a topic, send the post in the email (but please don't reply to these emails.)

You see, I have double checked all this. What I am looking for would be where I might look to see if
I've futzed up anything in the admin account with a manual install of any mods.



So, specifically, where would I begin to look to see if I have inadvertently erased a bit of vital code?

Any love on this?
Title: Re: No email notification when receiving a personal message
Post by: Kill Em All on April 18, 2010, 09:57:09 PM
Was just suggesting that because you wanted to look deeper before checking the basics.

What mods do you have installed?
Title: Re: No email notification when receiving a personal message
Post by: Scratching my Head on April 18, 2010, 11:06:21 PM
No. I wanted to look at where in the smf codes I may have erased something.

This is not essential, it's just bugging me.


Anyone?
Title: Re: No email notification when receiving a personal message
Post by: Kill Em All on April 19, 2010, 08:35:59 PM
Did you check your profile's email address to make sure its correct?

You can also run this code to make sure its able to send to your email's inbox.

<?php

$mail 
mail("YOUR-EMAIL-HERE""wahahahahahaahahahahaa","I like spamming your inbox!!!""From: Myself<[email protected]");

if(!
$mail){
   echo 
'<font color="red">mail is not send!</font>';
} else {
   echo 
'<font color="#00FF00">mail is send :-)</font>';
}

?>



Make that into a new php file and name it whatever you want, upload it to the root of your SMF installation, then browse to it.

edit: make sure you edit the needed stuff in it like yoru email here and such.
Title: Re: No email notification when receiving a personal message
Post by: Scratching my Head on April 20, 2010, 02:12:16 AM
Quote from: Kill Em All on April 19, 2010, 08:35:59 PM
Did you check your profile's email address to make sure its correct?


http://www.simplemachines.org/community/index.php?topic=376703.msg2590008#msg2590008

;)

QuoteYou can also run this code to make sure its able to send to your email's inbox.

<?php

$mail 
mail("YOUR-EMAIL-HERE""wahahahahahaahahahahaa","I like spamming your inbox!!!""From: Myself<[email protected]");

if(!
$mail){
   echo 
'<font color="red">mail is not send!</font>';
} else {
   echo 
'<font color="#00FF00">mail is send :-)</font>';
}

?>



Make that into a new php file and name it whatever you want, upload it to the root of your SMF installation, then browse to it.

edit: make sure you edit the needed stuff in it like yoru email here and such.

Done. Weird. So, I got your cute message:

mail is send :-)

But no mail. I checked the spam, the trash... everywhere.

I'm weirded out by this.


Everyone else seems to get mail. Just not me.
And I'm the admin!

Haw!

Like I said. Weird...
Any guesses, Kill Em All?
Title: Re: No email notification when receiving a personal message
Post by: Kill Em All on April 20, 2010, 12:20:02 PM
Who do you use as your email provider? Do other members have the same email provider as you? If not, your web server's IP might be banned from that email provider.
Title: Re: No email notification when receiving a personal message
Post by: Scratching my Head on April 20, 2010, 12:38:27 PM
Quote from: Kill Em All on April 20, 2010, 12:20:02 PM
Who do you use as your email provider? Do other members have the same email provider as you? If not, your web server's IP might be banned from that email provider.

gmail. Same as the test account.
Title: Re: No email notification when receiving a personal message
Post by: Kill Em All on April 20, 2010, 12:42:15 PM
Did you try making the test account an admin of the site? Give it the same amount of posts you have to and then try it.
Title: Re: No email notification when receiving a personal message
Post by: Scratching my Head on April 20, 2010, 12:51:29 PM
No. But I did change my email.

Weird. I thought the test account was gmail, but it was site specific.
That is it was ###@domain.com rather than the gmail account.

Now. I get email notification with the domain account, just like test account.

So. I am off to test if all gmail accounts are not receiving notification.


Thank you for your patience with me on this baffling occurrence. I'm grateful.
Title: Re: No email notification when receiving a personal message
Post by: Kill Em All on April 20, 2010, 12:52:45 PM
No problem, let us know how it goes. :)
Title: Re: No email notification when receiving a personal message
Post by: Scratching my Head on April 20, 2010, 03:33:25 PM
Alright. Here's what's what...


I had a mod set up to have a phake admin email addy:

http://custom.simplemachines.org/mods/index.php?mod=1465

What that does is puts a phake email address in the pm notifications,
so that if/when people respond to the notification they will get a bounce.
Better yet, it alerted people to the fact that it was a phony email. Mine was:

[email protected]




And it's worked fine up until recently. Apparently gMail has done something with
it's spam filters to send the phake email addy to spam.

So. I got it sorted out. Along with this:

http://www.simplemachines.org/community/index.php?topic=56056.0


I should be all set.

Thanks for holding my hand.


Topic marked Solved