Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 01:25 am EST
Geeklog Forums
Geeklog sending mail problems
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
I've upgraded my web and mail server to IIS7 and PHP 5.2.11
Geeklog 1.5.1 is having intermittent problems in sending mail to users.
For Example, if I send 10 emails one after another to a user (using the Send email form) less than half will be sent. There are no errors reported on screen and none in the error.log. The mail server only reports success on the emails actually sent. On the emails not sent the mail server logs don't even report an attempt to communicate by Geeklog
Another Example, I only get about half the emails from story submissions or notification to admin about new comments. For these I actually get an error message reported in geeklogs error file:
10/15/09 11:33:40 - [pear_error: message="Failed to connect to 192.168.1.100:25 [SMTP: Invalid response code received from server (code: -1, response: )]" code=10001 mode=return level=notice prefix="" info=""]
I don't think it is a mail server problem as I can send and receive emails no problem when using a email client like Outlook.
Thanks for any replies
Tom
One of the Geeklog Core Developers.
Geeklog 1.5.1 is having intermittent problems in sending mail to users.
For Example, if I send 10 emails one after another to a user (using the Send email form) less than half will be sent. There are no errors reported on screen and none in the error.log. The mail server only reports success on the emails actually sent. On the emails not sent the mail server logs don't even report an attempt to communicate by Geeklog
Another Example, I only get about half the emails from story submissions or notification to admin about new comments. For these I actually get an error message reported in geeklogs error file:
10/15/09 11:33:40 - [pear_error: message="Failed to connect to 192.168.1.100:25 [SMTP: Invalid response code received from server (code: -1, response: )]" code=10001 mode=return level=notice prefix="" info=""]
I don't think it is a mail server problem as I can send and receive emails no problem when using a email client like Outlook.
Thanks for any replies
Tom
One of the Geeklog Core Developers.
9
4
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
I figured out why I wasn't always getting an error message in the log file when mail was not being sent. I was triggering the speed limit in the profiles.php around line 78 and it doesn't return a message to the user, it just refreshes the homepage.
This means my mail problem is not really happening half the time but maybe only a quarter of the time and I always do get the above pear error message.
One of the Geeklog Core Developers.
This means my mail problem is not really happening half the time but maybe only a quarter of the time and I always do get the above pear error message.
One of the Geeklog Core Developers.
8
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Not sure if it helps: I made a mental note to see if this debugging tip could be rolled into COM_mail somehow:
HTH
bye, Dirk
Try this:
In your Mail::factory() include the parm 'debug' set to true;
Then do a "if(PEAR::isError($result)){
print $result->getMessage());
}
You'll get a full detailed report.
In your Mail::factory() include the parm 'debug' set to true;
Then do a "if(PEAR::isError($result)){
print $result->getMessage());
}
You'll get a full detailed report.
HTH
bye, Dirk
7
8
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Hmmm must of missed that page when I did a search.
Anyways I thought mail was the php mail function but I didn't look further once com_mail called the pear library.
In regards to your previous message, I did turn debug mode on in pear but didn't get any real additional information when an error happen. All it told me was a QUIT message was sent which my mail server logs confirmed (geeklog had logged in but then it quit).
I rather use SMTP but I am glad mail is working.
Tom
One of the Geeklog Core Developers.
Anyways I thought mail was the php mail function but I didn't look further once com_mail called the pear library.
In regards to your previous message, I did turn debug mode on in pear but didn't get any real additional information when an error happen. All it told me was a QUIT message was sent which my mail server logs confirmed (geeklog had logged in but then it quit).
I rather use SMTP but I am glad mail is working.
Tom
One of the Geeklog Core Developers.
5
5
Quote
All times are EST. The time is now 01:25 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content